Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR TYPESCRIPT

No provider for ChildrenOutletContexts Angular

imports: [RouterModule.forRoot(routes)],	// use forRoot instead of forChild(routes)
// forRoot for app-routing.module and forChild for the other modules
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #No #provider #ChildrenOutletContexts #Angular
ADD COMMENT
Topic
Name
4+1 =