I'm working with an Angular 2 application based on Angular-CLI skeleton, I had the habit of structuring my src folder with one directory by module, and each component related to this module in the same folder.
src
app
documents
document-list.component.ts
document-list.component.html
documents.component.ts
documents.component.html
document.module.ts
app.component.ts
app.module.ts
main.ts
Now that I'm using Angular-CLI, I would like to take profit of each feature, but when I'm generating a new component, no matter what, it keep creating a new folder for my component when I just want to put it inside the related folder.
src
app
documents
document-list
document-list.component.ts
document-list.component.html
documents.component.ts
documents.component.html
document.module.ts
app.component.ts
app.module.ts
main.ts
Is it possible to keep my previous structure, is it a bad practice? The guideline recommends to avoid useless directory depth so I'm kind of disturbed.