generate a component angular code example
Example 1: angular generate component
ng g component componentname
Example 2: ng generate component
// in terminal
// add Service to (new) Component dir
ng g c Components/<componentName>
ng g component componentname
// in terminal
// add Service to (new) Component dir
ng g c Components/<componentName>