Skip to content
This repository has been archived by the owner on Nov 22, 2021. It is now read-only.

Can't minimize the files (Unknown Provider error) #16

Closed
benyitzhaki opened this issue Nov 20, 2013 · 6 comments
Closed

Can't minimize the files (Unknown Provider error) #16

benyitzhaki opened this issue Nov 20, 2013 · 6 comments

Comments

@benyitzhaki
Copy link

After i minify the file, it throws me the next error "Unknown Provider" http://docs.angularjs.org/error/$injector:unpr?p0=aProvider%20%3C-%20a

haven't changed anything in the file, have tried all of the versions that you have provided and it always throws me the same error. before minification, it seems to work just fine.

btw,im using uglify if it matters..

@mbenford
Copy link
Owner

Hi benyitzhaki.

I believe you have tried to use Angular 1.2+ along with the current version of ngTagsInput. Is that correct?

Kind regards.

@benyitzhaki
Copy link
Author

yep, even tho the new version didn't work at all for me so i stayed with the older one - i got a feeling that it has something to do with the autocomplete directive that you added, maybe some other directive i'm using is not playing well with it. didn't had the time right now to go over it too much.
anyway, they both gave me the same error after minification so i don't believe that it has anything to do with that

@mbenford
Copy link
Owner

I see. Everything works fine with Angular 1.0.7, as you can see here. I'm aware that the current version doesn't play nice with Angular 1.2+, and I intend to look into that issue as soon as possible.

If you run into any more issues related to Angular 1.2+, please report them. I'll appreciate it. :)

Kind regards.

@richardwilly98
Copy link

@benyitzhaki have a look at my comment #15 (comment)

@benyitzhaki benyitzhaki reopened this Nov 21, 2013
@benyitzhaki
Copy link
Author

@richardwilly98 thanks, your version actually works perfectly! i noticed that even when i patched @mbenford 's latest stable version with your fix, it didn't play.. so i guess that one of his latest commits broke something in angular 1.2 (i hope it will assist you on your debugging adventure)

@mbenford
Copy link
Owner

I've created an issue - #17 - specifically for the problems with Angular 1.2+ and assigned it to the next release. I'm closing this one so all problems related to v1.2 can be reported and discussed there.

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

No branches or pull requests

3 participants