0
What’s the difference between CanActivate and CanLoad guards in Angular routing?
subina kallyani
medium
0completed
12
Answer
CanActivate→ decides if a route can be activated after the module is loaded.CanLoad→ prevents the lazy-loaded module from even being downloaded if the guard fails.
Click to Reveal Answer
Tap anywhere to see the solution
Revealed
Comments0