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