Answers for "angular nullinjectorerror: no provider for childrenoutletcontexts!"

1

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
Posted by: Guest on April-21-2021

Code answers related to "angular nullinjectorerror: no provider for childrenoutletcontexts!"

Code answers related to "TypeScript"

Browse Popular Code Answers by Language