creating an angular component with cli code example
Example 1: angular cli generate component
ng g c componentName
Example 2: make component using angular cli
ng generate component xyz
ng g c componentName
ng generate component xyz