Q. How do you protect a route using authentication guard?
β
Correct Answer: (A)
Use canActivate guard
Explanation: canActivate guard is used to prevent unauthorized access to routes.