Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
export const routing: ModuleWithProviders = RouterModule.forChild([
{
path: '',
component: Section1Component,
canActivate: [CanActivateGuard],
data: {acl: ['section_1']},
children: [
// child routes...
]
}
]);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment