What
is NgModule in angular?
NgModules configure
the injector and the compiler and help organize related things together.
An NgModule is a class marked by the @NgModule decorator. @NgModule takes
a metadata object that describes how to compile a component's template and how
to create an injector at runtime.
When you add
these resources to the NgModule metadata, Angular creates
a component factory, which is just an Angular class that
churns out components.
0 comments:
Post a Comment