create app module by command code example
Example 1: create angular component using cli
ng generate component hero-detail
Example 2: angular cli create component
plainsight/some-name/some-name.component.ts
ng generate component hero-detail
plainsight/some-name/some-name.component.ts