A

Admin • 832.27K Points
Coach

Q. Which of the following is used to define routes in Angular?

  • (A) RouterModule.forRoot()
  • (B) RouteModule.config()
  • (C) AppRouting.config()
  • (D) NgRoute.set()
  • Correct Answer - Option(A)
  • Views: 22
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

Angular uses RouterModule.forRoot() to configure top-level application routes.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.