compact / angular-bootstrap-lightbox

An AngularJS lightbox built using UI Bootstrap Modal.
http://compact.github.io/angular-bootstrap-lightbox/
MIT License
306 stars 134 forks source link

Add catch to rejected promise. #80

Open dobavictor opened 7 years ago

dobavictor commented 7 years ago

Silence exceptions of type "Possible unhandled rejection" (with angularjs 1.6) when the lightbox modal gets dismissed.

karensg commented 7 years ago

Would be awesome to make a fix for this one: .catch(angular.noop) is even smoother.