Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

angular get route url

this.router.events
  .pipe(filter( event => event instanceof NavigationEnd))
  .subscribe(event => {
    this.router.navigate(['/tabs']);
  }
});
Source by www.angularjswiki.com #
 
PREVIOUS NEXT
Tagged: #angular #route #url
ADD COMMENT
Topic
Name
9+5 =