Angular Get Trasa w ostatnim segmencie
this.activatedRoute.pathFromRoot[1].url.subscribe(val => console.log(val[0].path));
Plain Peafowl
this.activatedRoute.pathFromRoot[1].url.subscribe(val => console.log(val[0].path));