Q. How do you protect routes in Angular so that only authorized users can access them?
β
Correct Answer: (A)
Using route guards (CanActivate)
Explanation: Route guards control access to routes based on custom logic.