Canactivate Uzyskaj aktualny adres URL
canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {
console.log(state.url);//'candidates'
}
Mobile Star
canActivate(route: ActivatedRouteSnapshot, state: RouterStateSnapshot) {
console.log(state.url);//'candidates'
}