Thank you for a great article. Very helpful and informational.
I’m stuck in “Restricting route access”. I’m using angular-seed structure and try to inject USER_ROLES constant in my routes. These are defined as modules (following the angular-seed structure). My constants are also defined in a “constants” module, which is injected in my “app” (bootstrap) module. I can inject USER_ROLES in my “app” module, but not in my other modules. I’m using angular 1.4.
Do you know what could be the problem?