docs: add ngmodule api doc (#25618)

PR Close #25618
This commit is contained in:
Judy Bogart
2018-08-22 08:52:19 -07:00
committed by Ben Lesh
parent f91b0455c0
commit dd5e35ee67
6 changed files with 53 additions and 21 deletions

View File

@ -16,8 +16,15 @@ import {COMMON_PIPES} from './pipes/index';
// Note: This does not contain the location providers,
// as they need some platform specific implementations to work.
/**
* The module that includes all the basic Angular directives like {@link NgIf}, {@link NgForOf}, ...
* Exports all the basic Angular directives and pipes,
* such as `NgIf`, `NgForOf`, `DecimalPipe`, and so on.
* Re-exported by `BrowserModule`, which is included automatically in the root
* `AppModule` when you create a new app with the CLI `new` command.
*
* * The `providers` options configure the NgModule's injector to provide
* localization dependencies to members.
* * The `exports` options make the declared directives and pipes available for import
* by other NgModules.
*
*/
@NgModule({