how to generate component.ts in angular code example Example: creare component in anglar ng generate component [component-name]