Skip to content

Commit c8507a6

Browse files
committed
docs: re-phrase note in architecture guide for clarity
1 parent 728fe69 commit c8507a6

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

aio/content/guide/architecture-modules.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Introduction to modules
22

3-
Angular apps are modular and Angular has its own modularity system called *NgModules*.
3+
Angular apps are modular and Angular has its own modularity system called *NgModules*.
44
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.
55

66
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.
2727

2828
<div class="alert is-helpful">
2929

30-
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.
30+
`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.
3131

3232
</div>
3333

@@ -89,7 +89,7 @@ For example, import Angular's `Component` decorator from the `@angular/core` lib
8989

9090
<code-example path="architecture/src/app/app.component.ts" region="import" linenums="false"></code-example>
9191

92-
You also import NgModules from Angular *libraries* using JavaScript import statements.
92+
You also import NgModules from Angular *libraries* using JavaScript import statements.
9393
For example, the following code imports the `BrowserModule` NgModule from the `platform-browser` library.
9494

9595
<code-example path="architecture/src/app/mini-app.ts" region="import-browser-module" linenums="false"></code-example>

0 commit comments

Comments
 (0)