Put in order · Angular course · Module 3: Modules

Order of properties in @NgModule

Order the properties inside the @NgModule decorator according to the typical layout (consecutive lines from top):

Items to put in order

  • imports: [...]
  • exports: [...]
  • declarations: [...]
  • providers: [...]

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