InterviewSolution
Saved Bookmarks
| 1. |
What are @NgModule in Angular? |
|
Answer» NgModule is a special decorator that marks a TS class as an Angular Module. You can think of an Angular module as a logical chunk of code that is delegated a responsibility. An NgModule class describes how the application parts fit together. Every application has at least one NgModule, the root module that we bootstrap to LAUNCH the application. @NgModule accepts a metadata object that tells Angular how to compile and launch the application. The properties are:
|
|