generate a component using angular cli code example
Example 1: creare component in anglar
ng generate component [component-name]
Example 2: angular add component
ng generate component [name]
ng generate component [component-name]
ng generate component [name]