docs: remove closing parenthesis from provides guide (#24935)
PR Close #24935
This commit is contained in:
parent
23766b85e9
commit
b8f740b253
|
@ -32,7 +32,7 @@ The service itself is a class that the CLI generated and that's decorated with `
|
||||||
|
|
||||||
When you add a service provider to the root application injector, it’s available throughout the app. Additionally, these providers are also available to all the classes in the app as long they have the lookup token.
|
When you add a service provider to the root application injector, it’s available throughout the app. Additionally, these providers are also available to all the classes in the app as long they have the lookup token.
|
||||||
|
|
||||||
You should always provide your service in the root injector unless there is a case where you want the service to be available only if the consumer imports a particular `@NgModule)`.
|
You should always provide your service in the root injector unless there is a case where you want the service to be available only if the consumer imports a particular `@NgModule`.
|
||||||
|
|
||||||
## providedIn and NgModules
|
## providedIn and NgModules
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue