docs: change definition of NgModules in Angular concepts guide (#36179)

Indicate that the basic building block in Angular is the component which is organized into modules

PR Close #36179
This commit is contained in:
Aristeidis Bampakos 2020-03-21 00:00:32 +02:00 committed by Andrew Kushnir
parent 0268b72d2c
commit b304bd0535

View File

@ -5,7 +5,7 @@ Angular is written in TypeScript.
It implements core and optional functionality as a set of TypeScript libraries that you import into your apps. It implements core and optional functionality as a set of TypeScript libraries that you import into your apps.
The architecture of an Angular application relies on certain fundamental concepts. The architecture of an Angular application relies on certain fundamental concepts.
The basic building blocks are *NgModules*, which provide a compilation context for *components*. NgModules collect related code into functional sets; an Angular app is defined by a set of NgModules. An app always has at least a *root module* that enables bootstrapping, and typically has many more *feature modules*. The basic building blocks of the Angular framework are Angular components that are organized into *NgModules*. NgModules collect related code into functional sets; an Angular app is defined by a set of NgModules. An app always has at least a *root module* that enables bootstrapping, and typically has many more *feature modules*.
* Components define *views*, which are sets of screen elements that Angular can choose among and modify according to your program logic and data. * Components define *views*, which are sets of screen elements that Angular can choose among and modify according to your program logic and data.