A

Admin • 828.70K Points
Coach

Q. How can you define default routes in Angular routing?

  • (A) Using empty path ('') with redirectTo property
  • (B) Using path: '**'
  • (C) Using path: '/'
  • (D) Using path: '*'
  • Correct Answer - Option(A)
  • Views: 12
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
Default routes redirect empty path to a specified route.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.