Put in order · Angular course · Module 1: Introduction to Angular

Routing configuration

Arrange in one line the correct import of the routing provider in the app.config.ts file:

Items to put in order

  • from
  • import
  • '@angular/router'
  • { provideRouter }
Show the answer

Correct order:

  1. import
  2. { provideRouter }
  3. from
  4. '@angular/router'