I have the following route definition:
export const AppRoutes = RouterModule.forRoot([
{
path: '',
canActivate: [AuthGuardService],
component: HomeComponent,
children: [
{
path: 'child1',
component: Child1Component
},
]
},
]);
Will child1 route inherit the canActivate guard from its parent?