angular cli class generate code example
Example 1: angular cli generate new module
ng generate module module-name
Example 2: angular generat model
ng generate class hero --type=model
ng generate module module-name
ng generate class hero --type=model