generating component in angular cli code example
Example 1: creare component in anglar
ng generate component [component-name]
Example 2: ng cli generate component
ng g c componentName
Example 3: ng g component
ng g class <name> [options]
ng generate component [component-name]
ng g c componentName
ng g class <name> [options]