get url with route in angular 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']);
}
});