NgModule metadata

NgModule metadata

  • Declares which components, directives, and pipes belong to the module.
  • Makes some of those components, directives, and pipes public so that other module's component templates can use them.
  • Imports other modules with the components, directives, and pipes that components in the current module need.
  • Provides services that the other application components can use.

Related concepts

NgModule metadata

NgModule metadata — Structure map

Clickable & Draggable!

NgModule metadata — Related pages: