A

Admin • 833.24K Points
Coach

Q. How can you define a route parameter in Angular routing?

  • (A) Using colon notation, e.g., path: 'user/:id'
  • (B) Using query parameters only
  • (C) Using a service
  • (D) Using *ngFor directive
  • Correct Answer - Option(A)
  • Views: 23
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin

Colon syntax defines dynamic route parameters.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.