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 index.js #41

Closed command-tab closed 8 years ago

command-tab commented 8 years ago

This PR adds index.js, allowing angular-bootstrap-lightbox to be imported via require(). Without this, node (via webpack, and likely other bundlers) fails to locate the dist/angular-bootstrap-lightbox.js file and throws a Module not found: Error: Cannot resolve module 'angular-bootstrap-lightbox' error.

Karel-TOPdesk commented 8 years ago

Is this update released to NPM? cause I installed via NPM and the index.js is not there...