create component in module angular cli code example
Example 1: generate component with module angular 8
ng g m home --route home --module app.module
Example 2: angular cli generate component
ng g c componentName
Example 3: angular cli create component
plainsight/some-name/some-name.component.ts