Rota Angular Get Last Segment
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));