Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Uncaught TypeError: angular.module(...).decorator is not a function #404

Closed
lukascamargo opened this issue Apr 5, 2017 · 0 comments
Closed
Labels

Comments

@lukascamargo
Copy link

Hello Guys,

I am getting the error below when starting the application. The error happens after importing the angular-permission files at index.html.

Uncaught TypeError: angular.module(...).decorator is not a function
at angular-permission.min.js:11
at angular-permission.min.js:11
(anonymous) @ angular-permission.min.js:11
(anonymous) @ angular-permission.min.js:11

I imported the angular-permission.min.js, angular-permission-ui.min.js and angular-permission-ng.min.js. The error message appears for all of them.

I've searched on google the solution for this problem and it says only to update my Angular version to 1.4 or higher. But my version is 1.6.4 :(

Does anyone knows how to solve this?

Thank you!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants