A

Admin • 828.03K Points
Coach

Q. What does the RouterModule.forRoot() method do?

  • (A) Configures the root routes for the application
  • (B) Defines lazy loaded routes
  • (C) Starts the Angular application
  • (D) Registers services
  • Correct Answer - Option(A)
  • Views: 8
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
forRoot() sets up the main routes for the app.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.