ng g c add to app module code example
Example 1: angular generate component
ng g component componentname
Example 2: angular cli create component
plainsight/some-name/some-name.component.ts
ng g component componentname
plainsight/some-name/some-name.component.ts