angularjs-imageupload-directive
angularjs-imageupload-directive copied to clipboard
A Serious ISSUE
hi, Mischi, It's an usefult directive, and please change the follow
angular.module('imageupload', [])
.directive('image', function($q) {...}
to
angular.module('imageupload', [])
.directive('image', ['$q', function($q) {...}]
otherwise, it is not work after uglify. for the param $q may be converted to another name such as a,b,c,f, etc by uglify compiler.
https://github.com/btford/ngmin
@jdhiro thanks, nice.
maybe this repo should have a build script so that we don't have to rely on our own minification build to work, or to rely on ngmin to work (i'm on a project where ngmin actually doesn't work).