docs: fix wording in 4-10 (#24385)

PR Close #24385
This commit is contained in:
Kapunahele Wong 2018-06-08 16:38:31 -04:00 committed by Miško Hevery
parent e3c54e4465
commit d9bf6e37ae
1 changed files with 2 additions and 2 deletions

View File

@ -3109,9 +3109,9 @@ module are referenced across the entire application.
**Avoid** providing services in shared modules. Services are usually
**Consider** _not_ providing services in shared modules. Services are usually
singletons that are provided once for the entire application or
in a particular feature module.
in a particular feature module. There are exceptions, however. For example, in the sample code that follows, notice that the `SharedModule` provides `FilterTextService`. This is acceptable here because the service is stateless;that is, the consumers of the service aren't impacted by new instances.
</div>