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

After uglifying with Grunt controller prototype is undefined #15

Open
sashberd opened this issue Dec 1, 2016 · 0 comments
Open

After uglifying with Grunt controller prototype is undefined #15

sashberd opened this issue Dec 1, 2016 · 0 comments

Comments

@sashberd
Copy link

sashberd commented Dec 1, 2016

I have next problem:
I do to all my JS files uglifying with Grunt. before uglifying I have to run ng-annotate, but I think there is no issue with it.
When I do this the controller prototype in angular-360-no-scope becomes undefined on injection.
The problem still remains if I do not uglifying the file it self. However, if the code is not uglified all is worked prefect!
I broke my head in order to solve this problem.
Do anybody have solution?
untitled

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

No branches or pull requests

1 participant