A

Admin • 828.70K Points
Coach

Q. How do you pass data to a route in Angular?

  • (A) Using queryParams or route parameters
  • (B) Using a global variable
  • (C) Through local storage only
  • (D) With HTML attributes
  • Correct Answer - Option(A)
  • Views: 13
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
Data can be passed via the URL using route parameters or queryParams.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.