create new component in angular using cli code example
Example 1: angular cli generate component
ng g c componentName
Example 2: ng generate new component
ng generate component <name> [options]
ng g c componentName
ng generate component <name> [options]