to generate any component angular code example
Example 1: angular generate component
ng g component componentname
Example 2: ng generate component
ng g component [component name]
ng g component componentname
ng g component [component name]