how to creat a component in angular code example
Example 1: creare component in anglar
ng generate component [component-name]
Example 2: create angular component using cli
ng generate component hero-detail
ng generate component [component-name]
ng generate component hero-detail