angular generate component in sub folder code example Example: ng generate component in subfolder ng g c components/component-name-here