Concept Flow - NgModule decorator and metadata
Define @NgModule decorator
Add metadata object
Declare components, directives, pipes
Import other modules
Export components/modules
Bootstrap root component
Angular compiles and registers module
The @NgModule decorator wraps a class and adds metadata that tells Angular what components, directives, pipes, and modules belong to this module, what to import, export, and which component to bootstrap.