generating an angular component with cli code example
Example 1: creare component in anglar
ng generate component [component-name]
Example 2: ng cli generate component
ng g c componentName
ng generate component [component-name]
ng g c componentName