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
πŸ’¬ Discuss
βœ… Correct Answer: (A) To render the component matched by the router
Explanation: `RouterOutlet` acts as a placeholder that Angular dynamically fills based on the route.
Explanation by: Mr. Dubey
`RouterOutlet` acts as a placeholder that Angular dynamically fills based on the route.

πŸ’¬ Discussion


πŸ“Š Question Analytics

πŸ‘οΈ
65
Total Visits
πŸ“½οΈ
1 y ago
Published
πŸŽ–οΈ
Mr. Dubey
Publisher
πŸ“ˆ
84%
Success Rate