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