coomand to create a angular component code example
Example 1: angular add component
ng generate component [name]
Example 2: create angular component using cli
ng generate component hero-detail
ng generate component [name]
ng generate component hero-detail