how to insert a component into another component angular ts file code example Example: creare component in anglar ng generate component [component-name]