Techniques for authentication in AngularJS applications
Gert Hengeveld
1.3K53

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?

Like what you read? Give olefrankjensen a round of applause.

From a quick cheer to a standing ovation, clap to show how much you enjoyed this story.