Structure

Module

  • Component
    • <name>.component.ts
    • <name>.component.html
    • <name>.component.scss
    • <name>.component.spec.ts
  • <module-name>-routing.module.ts
  • <module-name>-module.ts

Single Responsibility Principle

  • a module should be responsible to, one and only one, actor

Source:

https://angular.io/guide/styleguide