angular-docs-cn/aio/content
Amadou Sall 3783976543 docs: remove the section "Using components vs services from other modules" (#41835)
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
2021-04-27 10:16:49 -07:00
..
cli docs: update boolean and enumerated CLI section (#40224) 2020-12-23 09:51:29 -08:00
cli-src build(docs-infra): make the git ref for cli command docs configurable (#26391) 2018-10-11 12:57:49 -07:00
errors docs: fix links to docs with ambiguous paths (#41788) 2021-04-26 12:12:00 -07:00
examples docs: add metadata documentation to httpClient (#41706) 2021-04-26 15:17:51 -07:00
guide docs: remove the section "Using components vs services from other modules" (#41835) 2021-04-27 10:16:49 -07:00
images docs: add chau tran to GDE resources (#41817) 2021-04-26 15:16:40 -07:00
marketing docs: add chau tran to GDE resources (#41817) 2021-04-26 15:16:40 -07:00
start docs: update docs to reflect production mode by default (#41173) 2021-03-16 09:32:44 -07:00
tutorial docs: Indicate `HttpClientModule` being imported (#41749) 2021-04-23 11:38:34 -07:00
file-not-found.md fix(docs-infra): increase the max width of the `file-not-found` page (#41275) 2021-04-01 11:36:44 -07:00
license.md docs: update year (#40925) 2021-02-22 12:37:40 -08:00
navigation.json docs: move lazy loading section to the best practices section (#41378) 2021-04-16 17:27:00 -07:00