docs: remove closing parenthesis from provides guide (#24935)
PR Close #24935
This commit is contained in:
parent
2a5a05b28b
commit
5a1ca35bc4
@ -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…
x
Reference in New Issue
Block a user