What is @ngmodule in Angular 2? Explain

It configures the injector and compiler, and assists in organizing things together. This class is marked by the @NgModule decorator. It can identify module's directives, components, and pipes, making them public as required through the exports properties so that they can be used by the external components.

Suggest An Answer

No suggestions avaliable!

Latest post from Angular 2 Interview Questions

Ask Question