angular create component in module code example
Example 1: generate component with module angular 8
ng g m home --route home --module app.module
Example 2: angular cli generate new module
ng generate module module-name
Example 3: ng generate component
ng g component [component name]
Example 4: angular cli create component
plainsight/some-name/some-name.component.ts
Example 5: ng g component
ng g class <name> [options]