DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
angular get route last segment
this.activatedRoute.pathFromRoot[1].url.subscribe(val => console.log(val[0].path));
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#angular
#route
#segment
ADD COMMENT
Topic
COMMENT
Name
5+4 =
Submit