angular cli generate component module import options code example
Example 1: angular cli generate new module
ng generate module module-name
Example 2: angular cli generate component
ng g c componentName
ng generate module module-name
ng g c componentName