A

Admin • 802.91K Points
Coach

Q. What is the purpose of the `RouterOutlet` directive?

  • (A) To render the component matched by the router
  • (B) To navigate between views
  • (C) To bind routes dynamically
  • (D) To protect routes
  • Correct Answer - Option(A)
  • Views: 4
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
`RouterOutlet` acts as a placeholder that Angular dynamically fills based on the route.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.