rangle-io
Rangle.io : Angular 2 Training

Updated 8 months ago

mprinc (@mprinc) started discussion #237

2 months ago · 0 comments

Open

What this error tells us is that the AppModule, where the EagerComponent is defined, has no knowledge of a service called CounterService. CounterService lives in a different branch of the DI tree created for LazyModule when it was lazy loaded in the browser.

Lazy Loading and the Dependency Injection Tree (Edit this file)

i would change defined into instantiated

since definition/namespacing/... is irrelevant but rather the ancestor modules tree

No comments on this discussion.


to join this conversation on GitBook. Already have an account? Sign in to comment
Notifications

You’re not receiving notifications from this thread.


1 participant