command to create a model in angular code example
Example 1: create angular component using cli
ng generate component hero-detail
Example 2: ng g component
ng g class [options]
ng generate component hero-detail
ng g class [options]