3783976543
This section states that "Importing a module with services means that you will have a new instance of that service". This is only true for lazy-loaded `NgModules`. For non-lazy-loaded modules, my understanding is that the providers arrays are flattened into the root injector meaning that importing a module with a service doesn't create a new instance of that service. PR Close #41835 |
||
---|---|---|
.. | ||
cli | ||
cli-src | ||
errors | ||
examples | ||
guide | ||
images | ||
marketing | ||
start | ||
tutorial | ||
file-not-found.md | ||
license.md | ||
navigation.json |