my routing is
{
path:'contacts/:id',
component: contactDetail
}
in
canActivateChild( route: ActivatedRouteSnapshot,
state: RouterStateSnapshot) {
console.log(state.url);
}
state.url return /contacts/1
what I need is matched url /contact/:id
is there any possibilities to get matched url?