I'm using `{ provide: LocationStrategy, useClass: HashLocationStrategy },` in my `app.module.ts`. But when I give `this.route.url` it always contains `/` whether I'm in `/home` or `/dashboard` or `/profile`

I need to get the particular route value

`constructor(public router:Router) {} alert(this.router.url);`