Take this router as an example:
{
path: '/client',
component: ClientRootComponent,
children: [
{path: '', component: ClientListComponent},
{path: ':clientId', component: ClientOpenComponent, resolve: makeResolver(ClientOpenResolver)}
]
},
{
path: '**',
component: NotFoundComponent
}
In this case, both URLs /client/1234 and /client/asdf will be directed to ClientOpenComponent. Is there a way to ensure that /client/asdf is handled as a NotFound situation and redirected to the NotFoundComponent instead?