Closed iyeldinov closed 10 years ago
I'll make it customizable so that a method on the provider can be changed to return the image path in any way you want.
With v0.3.0, you can now do it like this:
angular.module('app').config(function (LightboxProvider) {
LightboxProvider.getImageUrl = function (image) {
return image.otherPropertyName;
};
});
Not only 'url' that shown in the example?