In this video we’ll discuss modules. Modules are “global building blocks” of Angular applications. Angular always has one root module AppModule. Angular module is a class with the NgModule decorator. This decorator gets metadata with next props:
- declarations – the list of files and pipes which are belong to the module.
- imports – modules list, required for the application work.
- providers – the set of injectables entities (services and etc).
- bootstrap – init load component
There are another properties that you can read by this link.