ruby on rails - How do I use Bootstrap Lightbox with AngularJS? -


i have following setup:

unfortatunatly when load page, without actual lightbox image on it, following javascript error:

uncaught typeerror: cannot read property 'constructor' of undefined

this happens here:

// depend upon twitter bootstrap's modal library simplify things here lightbox.prototype = $.extend({},$.fn.modal.constructor.prototype); 

am doing wrong or should not try combine bootstrap-lightbox angular ui's bootstrap? in latter case, should try reproduce lightbox functionality in angular myself?

i got similar error website.

http://jammyandsammy.hostei.com/wip/neecal/#/

"uncaught typeerror: cannot read property 'extend' of undefined " 

i believe bug, indeed in load order.

this jsfiddle uses same lightbox, cannot find solution.
http://jsfiddle.net/jasonbutz/yrbxd/

sorry can't out


Comments

Popular posts from this blog

c++ - CryptStringToBinary API behavior -

c++ - Correct method for redrawing a layered window -

java.util.scanner - How to read and add only numbers to array from a text file -