docs(aio): fix typo for @NgModuledecorator to @NgModule decorator (#24201)

closes #23974

PR Close #24201
This commit is contained in:
Kyle Liu 2018-05-17 13:29:50 -07:00 committed by Victor Berchet
parent 223882aeb6
commit 7c39216083
1 changed files with 1 additions and 1 deletions

View File

@ -175,7 +175,7 @@ This information is called _metadata_
Some of the metadata is in the `@Component` decorators that you added to your component classes. Some of the metadata is in the `@Component` decorators that you added to your component classes.
Other critical metadata is in [`@NgModule`](guide/ngmodules) decorators. Other critical metadata is in [`@NgModule`](guide/ngmodules) decorators.
The most important `@NgModule`decorator annotates the top-level **AppModule** class. The most important `@NgModule` decorator annotates the top-level **AppModule** class.
The Angular CLI generated an `AppModule` class in `src/app/app.module.ts` when it created the project. The Angular CLI generated an `AppModule` class in `src/app/app.module.ts` when it created the project.
This is where you _opt-in_ to the `FormsModule`. This is where you _opt-in_ to the `FormsModule`.