ng new component command code example
Example 1: ng 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]