showing results for - "get current url last part angular"
Matteo
22 Mar 2019
1      constructor(private route: ActivatedRoute){}
2        
3           ngOnInit() {
4              this.route.parent.snapshot.url[2].path;
5           }
6