Angular2: What's the equivalent of the router 'loadChildren' without lazy loading
问题 I'm trying 'plug' a sub ngModule (a feature module ) containing routing configurations (imported from RouterModule.forChild() ) into a parent ngModule. When using lazy loading, specifying where to 'plug' the child module is done using the loadChildren key in the parent module route configuration. ex: export const parentModuleRouteConfig = [{ path: 'myfeaturemodule', loadChildren: '/app/child.module' }]; Actually, i don't whant to use lazy loading . How can i tell the router to 'plug' (or use)