get url parts angular router code example
Example: angular get route url
this.router.events
.pipe(filter( event => event instanceof NavigationEnd))
.subscribe(event => {
this.router.navigate(['/tabs']);
}
});
this.router.events
.pipe(filter( event => event instanceof NavigationEnd))
.subscribe(event => {
this.router.navigate(['/tabs']);
}
});