@@ -7,7 +7,12 @@ block includes
77 :marked
88 **Angular Modules** help organize an application into cohesive blocks of functionality.
99
10- An Angular Module _class_ is adorned with the **NgModule** decorator that defines metadata about the module.
10+ An Angular Module is a _class_ adorned with the **@NgModule** decorator function.
11+ `_@NgModule` takes a metadata object that tells Angular how to compile and run module code.
12+ It identifies the module's _own_ components, directives and pipes,
13+ making some of them public so external components can use them.
14+ It may add service providers to the application dependency injectors.
15+ And there are more options covered here.
1116
1217 This chapter explains how to **create** `NgModule` classes and how to load them,
1318 either immediately when the application launches or later, as needed, via the [Router](router.html).
@@ -74,10 +79,9 @@ a#angular-modularity
7479
7580 An Angular module is a class decorated with `@NgModule` metadata. The metadata:
7681
77- * declare which components, directives and pipes _belong together_ .
82+ * declare which components, directives and pipes _belong_ to the module .
7883 * make some of those classes public so that other component templates can use them.
79- * hide other classes as implementation details.
80- * import other modules with the components, directives and pipes it needs.
84+ * import other modules with the components, directives and pipes needed by the components in _this_ module.
8185 * provide services at the application level that any application component can use.
8286
8387 Every Angular app has at least one module class, the _root module_.
0 commit comments