Question · Angular course · Module 3: Modules

Code organization best practices

Which code organization principle is recommended in large Angular projects?

Answer options

  • Group files by type (all services together, all components together)
  • Group by functionality and keep one component in one directory
  • Keep all code in a single app.component.ts file
  • Never use lazy loading

You can check the correct answer by solving this task in the CodeWorlds game.