From 0e7365724e716a1522578bc7aaca2d78d6eba333 Mon Sep 17 00:00:00 2001 From: George Kalpakas Date: Mon, 28 Jan 2019 15:34:29 +0200 Subject: [PATCH] docs: re-phrase note in architecture guide for clarity (#28543) PR Close #28543 --- aio/content/guide/architecture-modules.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/aio/content/guide/architecture-modules.md b/aio/content/guide/architecture-modules.md index 2364b875fd..88752e9ca5 100644 --- a/aio/content/guide/architecture-modules.md +++ b/aio/content/guide/architecture-modules.md @@ -1,6 +1,6 @@ # Introduction to modules -Angular apps are modular and Angular has its own modularity system called *NgModules*. +Angular apps are modular and Angular has its own modularity system called *NgModules*. NgModules are containers for a cohesive block of code dedicated to an application domain, a workflow, or a closely related set of capabilities. They can contain components, service providers, and other code files whose scope is defined by the containing NgModule. They can import functionality that is exported from other NgModules, and export selected functionality for use by other NgModules. Every Angular app has at least one NgModule class, [the *root module*](guide/bootstrapping), which is conventionally named `AppModule` and resides in a file named `app.module.ts`. You launch your app by *bootstrapping* the root NgModule. @@ -27,7 +27,7 @@ Here's a simple root NgModule definition.
- The `export` property of `AppComponent` is included here for illustration; it isn't actually necessary in this example. A root NgModule has no reason to *export* anything because other modules don't need to *import* the root NgModule. + `AppComponent` is included in the `exports` list here for illustration; it isn't actually necessary in this example. A root NgModule has no reason to *export* anything because other modules don't need to *import* the root NgModule.
@@ -89,7 +89,7 @@ For example, import Angular's `Component` decorator from the `@angular/core` lib -You also import NgModules from Angular *libraries* using JavaScript import statements. +You also import NgModules from Angular *libraries* using JavaScript import statements. For example, the following code imports the `BrowserModule` NgModule from the `platform-browser` library.