How do I use Bootstrap Lightbox with AngularJS?-Collection of common programming errors
I have the following setup:
Unfortatunatly when I load a page, even without an actual lightbox image on it, I get the following Javascript error:
Uncaught TypeError: Cannot read property 'Constructor' of undefined
This happens here:
// We depend upon Twitter Bootstrap's Modal library to simplify things here
Lightbox.prototype = $.extend({},$.fn.modal.Constructor.prototype);
Am I doing something wrong or should I not try to combine bootstrap-lightbox with Angular UI’s Bootstrap? In the latter case, should I just try to reproduce the Lightbox functionality in Angular myself?