NgModule

  • The @NgModule() decorator is a function that takes a single metadata object, whose properties describe the module. The most important properties are as follows.
  • Decorator that marks a class as an NgModule and supplies configuration metadata.
  • NgModules consolidate components, directives, and pipes into cohesive blocks of functionality, each focused on a feature area, application business domain, workflow, or common collection of utilities.

NgModule — Structure map

Clickable & Draggable!

NgModule — Related pages: