command to generate model in angular code example
Example 1: ng generate component
ng g component [component name]
Example 2: ng g
ng g directive <name> [options]
ng g component [component name]
ng g directive <name> [options]