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:
Josh Schneider 2017-02-06 19:03:30 -08:00 committed by Ward Bell
parent 905733593b
commit 390e28080c
1 changed files with 1 additions and 1 deletions

View File

@ -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:)/ })