create new component in angular with cli code example
Example 1: angular add component
ng generate component [name]
Example 2: ng generate component
ng g component [component name]
ng generate component [name]
ng g component [component name]