docs(ngmodule): drop '_' in '_@NgModule' (#2217)

This commit is contained in:
Ward Bell 2016-08-31 18:15:53 -07:00 committed by GitHub
parent 18ec087f07
commit 48a30534b3
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ block includes
**Angular Modules** help organize an application into cohesive blocks of functionality. **Angular Modules** help organize an application into cohesive blocks of functionality.
An Angular Module is a _class_ adorned with the **@NgModule** decorator function. An Angular Module is a _class_ adorned with the **@NgModule** decorator function.
`_@NgModule` takes a metadata object that tells Angular how to compile and run module code. `@NgModule` takes a metadata object that tells Angular how to compile and run module code.
It identifies the module's _own_ components, directives and pipes, It identifies the module's _own_ components, directives and pipes,
making some of them public so external components can use them. making some of them public so external components can use them.
It may add service providers to the application dependency injectors. It may add service providers to the application dependency injectors.