docs(di): fix AppModule providers in dependency-injection.jade (#3206)
"Here's our AppModule where we register a `Logger`, a `UserService`, and an `APP_CONFIG` provider." No Logger appears to be registered in the source code.
This commit is contained in:
parent
905733593b
commit
390e28080c
|
@ -259,7 +259,7 @@ block register-provider-ngmodule
|
|||
We can either register a provider within an [NgModule](ngmodule.html) or in application components
|
||||
|
||||
### Registering providers in an NgModule
|
||||
Here's our AppModule where we register a `Logger`, a `UserService`, and an `APP_CONFIG` provider.
|
||||
Here's our AppModule where we register a `UserService` and an `APP_CONFIG` provider.
|
||||
|
||||
- var app_module_ts = 'src/app/app.module.ts';
|
||||
+makeExcerpt(app_module_ts + ' (excerpt)', 'ngmodule', app_module_ts, { otl: /(providers:)/ })
|
||||
|
|
Loading…
Reference in New Issue