The @NgModule decorator is a method that takes a single metadata object that tells Angular how to compile the application.

Important Metadata Properties
  • imports
  • exports
  • providers
  • schemas
  • entryComponents
  • declarations
  • id
  • bootstrap
BY Best Interview Question ON 04 Feb 2020