Open vsrboth opened 8 years ago
How did you install the package?
i got the same error, i installed the package using bower
minification issue may be (your app.js).
if array of images configured via this,
angular.module('app').config(function (LightboxProvider) {
LightboxProvider.getImageUrl = function (image) {
return '/base/dir/' + image.getName();
};
LightboxProvider.getImageCaption = function (image) {
return image.label;
};
});
Change it to,
angular.module('app').config(['LightboxProvider', function (LightboxProvider) {
LightboxProvider.getImageUrl = function (image) {
return '/base/dir/' + image.getName();
};
LightboxProvider.getImageCaption = function (image) {
return image.label;
};
}]);
Also getting this issue, minification is not the problem. Maybe a conflict of version with angular boostrap lib?
I have the same issue. How to resolve it?
I have also the same issue, getting this error. Error: [$injector:unpr] Unknown provider: $uibModalProvider <- $uibModal <- Lightbox <- Lightbox
anybody knows solution
I am trying to use this with ionic project, but I keep having this kind of bug:
Here is what I inject into my ionic app: