Wednesday, April 4, 2018

this.router.url

Assuming router is a Router of @angular/router, this will get you what is in the URL as a string.

No comments:

Post a Comment