how to generate only component ts and component html in angular code example
Example 1: ng cli generate component
ng g c componentName
Example 2: angular cli create component
plainsight/some-name/some-name.component.ts
ng g c componentName
plainsight/some-name/some-name.component.ts