1

First of all, yes, I know ngComponentRouter module is depracated but my app is already working quite well using it other than this one issue.

The issue is that $routerCanActivate function is not firing (search for "$routerCanActivate" in https://docs.angularjs.org/guide/component-router to see how it should work).

Can anyone provide example of it working ?

yar1
  • 1,331
  • 2
  • 15
  • 26

1 Answers1

0

Use $canActivate for static property.

Jay.M.Hu
  • 16
  • 1