angular ng create component in folder code example
Example 1: ng generate component in subfolder
ng g c components/component-name-here
Example 2: angular add component
ng generate component [name]
ng g c components/component-name-here
ng generate component [name]