how switching components works in angular code example
Example: angular inline component
> ng generate component <component-name> --inlineTemplate=true --inlineStyle=true
> ng generate component <component-name> --inlineTemplate=true --inlineStyle=true