angular ng generate component code example
Example 1: angular generate component
ng g component componentname
Example 2: generate new component angular
ng generate <schematic> [options]
Example 3: ng generate component
ng g component [component name]
Example 4: ng generate component
// in terminal
// add Service to (new) Component dir
ng g c Components/<componentName>
Example 5: angular cli create component
plainsight/some-name/some-name.component.ts