A

Admin • 828.70K Points
Coach

Q. How can you pass static data to a route in Angular routing?

  • (A) Using data property in route configuration
  • (B) Using query parameters
  • (C) Using @Input decorator
  • (D) Using services
  • Correct Answer - Option(A)
  • Views: 7
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
Static data can be passed using the 'data' property inside routes.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.