ng new create subdirectory code example Example: ng generate component in subfolder ng g c components/component-name-here