NgModule
Option | Description |
---|---|
providers
|
The set of injectable objects that are available in the injector of this module. |
declarations
|
The set of components, directives, and pipes (declarables) that belong to this module. |
imports
|
The set of NgModules whose exported declarables are available to templates in this module. |
exports
|
The set of components, directives, and pipes declared in this NgModule that can be used in the template of any component that is part of an NgModule that imports this NgModule. Exported declarations are the module's public API. |
entryComponents
|
The set of components to compile when this NgModule is defined, so that they can be dynamically loaded into the view. |
bootstrap
|
The set of components that are bootstrapped when
this module is bootstrapped. The components listed here
are automatically added to |
schemas
|
The set of schemas that declare elements to be allowed in the NgModule. Elements and properties that are neither Angular components nor directives must be declared in a schema. |
id
|
A name or path that uniquely identifies this NgModule in |
jit
|
If true, this module will be skipped by the AOT compiler and so will always be compiled using JIT. |