angular create a new component code example
Example 1: angular generate component
ng g component componentname
Example 2: creare component in anglar
ng generate component [component-name]
ng g component componentname
ng generate component [component-name]