A

Admin • 833.24K Points
Coach

Q. What is the role of the RouterModule.forRoot() method?

  • (A) To create a new module
  • (B) To define routes at the root level
  • (C) To provide form support
  • (D) To register a service globally
  • Correct Answer - Option(B)
  • Views: 21
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

RouterModule.forRoot() sets up routing for the root app module.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.