angular add component command line code example
Example 1: angular cli generate component
ng g c componentName
Example 2: ng generate component
ng g component [component name]
ng g c componentName
ng g component [component name]