module ts file is not generated when creating component angular code example
Example 1: angular cli generate component
ng g c componentName
Example 2: ng g
ng g directive [options]
ng g c componentName
ng g directive [options]