angular cli create sub module code example
Example 1: angular cli generate new module
ng generate module module-name
Example 2: angular add modulee
ng generate module CustomerDashboard
ng generate module module-name
ng generate module CustomerDashboard