Direction: Choose the correct option
Q1.
How do you define a route with an `id` parameter?
Direction: Choose the correct option
Q2.
How do you access route parameters in a component?
Direction: Choose the correct option
Q3.
What is the difference between `paramMap` and `params`?
Direction: Choose the correct option
Q4.
How do you access query parameters (e.g., `?page=1`)?
Direction: Choose the correct option
Q5.
What happens when you navigate to the same route with different parameters?
Direction: Choose the correct option
Q6.
How do you get a parameter from the snapshot?
Direction: Choose the correct option
Q7.
What is the data type of parameters from `paramMap.get()`?
Direction: Choose the correct option
Q8.
How do you access multiple route parameters?
Direction: Choose the correct option
Q9.
What is a matrix parameter in Angular routing?
Direction: Choose the correct option
Q10.
How do you access matrix parameters?
