{"_id":"angular-bootstrap-lightbox","_rev":"16-82b56b67643ee1a4ff5498452187a895","name":"angular-bootstrap-lightbox","description":"An AngularJS lightbox built using UI Bootstrap Modal.","dist-tags":{"latest":"0.12.0"},"versions":{"0.4.0":{"name":"angular-bootstrap-lightbox","version":"0.4.0","description":"An AngularJS lightbox built using UI Bootstrap Modal.","keywords":["angular","lightbox","image","gallery"],"license":"MIT","repository":{"type":"git","url":"git://github.com/compact/angular-bootstrap-lightbox.git"},"homepage":"http://compact.github.io/angular-bootstrap-lightbox/","dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-angular-templates":"^0.5.7","grunt-contrib-concat":"^0.5.0","grunt-contrib-cssmin":"^0.12.1","grunt-contrib-htmlmin":"^0.4.0","grunt-contrib-jshint":"^0.11.0","grunt-contrib-uglify":"^0.7.0","grunt-ng-annotate":"^0.9.2","jit-grunt":"^0.9.1","time-grunt":"^1.0.0"},"gitHead":"10c0b06e0946c17821b96ea24adea22266af0711","bugs":{"url":"https://github.com/compact/angular-bootstrap-lightbox/issues"},"_id":"angular-bootstrap-lightbox@0.4.0","scripts":{},"_shasum":"5c6962e116b056c067a52e2a1a794ce093b4819b","_from":".","_npmVersion":"2.6.0","_nodeVersion":"0.10.32","_npmUser":{"name":"compact","email":"chris@torontocomputerguys.com"},"maintainers":[{"name":"compact","email":"chris@torontocomputerguys.com"}],"dist":{"shasum":"5c6962e116b056c067a52e2a1a794ce093b4819b","tarball":"https://registry.npmjs.org/angular-bootstrap-lightbox/-/angular-bootstrap-lightbox-0.4.0.tgz","integrity":"sha512-ITQltIwNjqS9yvtY+J6pNuLVnFC0uqGXXqZheGaZ1w1cujR3ubwSKUshJMwSvU1aT6rdb6zNQMsL7jjR0TC7zA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDMKLWUT6Zj0o9ahwcziAVLdaE/uLFeyGaQSguIc8a9LgIhAJBKyhdW+OlTkcFxN+NuZBF6Su+dcV5lCqYFAXX8saMS"}]}},"0.5.0":{"name":"angular-bootstrap-lightbox","version":"0.5.0","description":"An AngularJS lightbox built using UI Bootstrap Modal.","keywords":["angular","lightbox","image","gallery"],"license":"MIT","repository":{"type":"git","url":"git://github.com/compact/angular-bootstrap-lightbox.git"},"homepage":"http://compact.github.io/angular-bootstrap-lightbox/","dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-angular-templates":"^0.5.7","grunt-contrib-concat":"^0.5.1","grunt-contrib-cssmin":"^0.12.2","grunt-contrib-htmlmin":"^0.4.0","grunt-contrib-jshint":"^0.11.0","grunt-contrib-uglify":"^0.8.0","grunt-jsdoc-to-markdown":"^0.4.2","grunt-ng-annotate":"^0.10.0","jit-grunt":"^0.9.1","time-grunt":"^1.1.0"},"gitHead":"0cfd9aea6e1ed7a192614c6ee4480e13dfdfbeb9","bugs":{"url":"https://github.com/compact/angular-bootstrap-lightbox/issues"},"_id":"angular-bootstrap-lightbox@0.5.0","scripts":{},"_shasum":"eac0a097b6d663ada14958e5043fc6918059b728","_from":".","_npmVersion":"2.7.1","_nodeVersion":"0.10.32","_npmUser":{"name":"compact","email":"chris@torontocomputerguys.com"},"maintainers":[{"name":"compact","email":"chris@torontocomputerguys.com"}],"dist":{"shasum":"eac0a097b6d663ada14958e5043fc6918059b728","tarball":"https://registry.npmjs.org/angular-bootstrap-lightbox/-/angular-bootstrap-lightbox-0.5.0.tgz","integrity":"sha512-iD9UewkH3NQ0o4MQYX8CUpDDapu0BYvf4uoqZGBWSobgDaaNngJlKGeNkNgfHv64IKBxMCgDdh4jsj4Q6WGKmg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCuhRF2qMBU/qF1pf1gA+ZvPl60gXBTbWdRNLEMzAWSfwIgYUw73ChbO1VofYdOT5v4cKX7DHdbByVvdtXfnso0kZs="}]}},"0.6.0":{"name":"angular-bootstrap-lightbox","version":"0.6.0","description":"An AngularJS lightbox built using UI Bootstrap Modal.","keywords":["angular","lightbox","image","gallery"],"license":"MIT","repository":{"type":"git","url":"git://github.com/compact/angular-bootstrap-lightbox.git"},"homepage":"http://compact.github.io/angular-bootstrap-lightbox/","dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-angular-templates":"^0.5.7","grunt-contrib-concat":"^0.5.1","grunt-contrib-cssmin":"^0.12.2","grunt-contrib-htmlmin":"^0.4.0","grunt-contrib-jshint":"^0.11.2","grunt-contrib-uglify":"^0.9.1","grunt-jsdoc-to-markdown":"^1.0.0","grunt-ng-annotate":"^0.10.0","jit-grunt":"^0.9.1","time-grunt":"^1.1.1"},"gitHead":"7043d97f9d6932171b5bfb09161b863521e8c194","bugs":{"url":"https://github.com/compact/angular-bootstrap-lightbox/issues"},"_id":"angular-bootstrap-lightbox@0.6.0","scripts":{},"_shasum":"cdd7e87f60d43eb1308d2488670b051bc88ba73c","_from":".","_npmVersion":"2.8.3","_nodeVersion":"0.12.2","_npmUser":{"name":"compact","email":"chris@torontocomputerguys.com"},"maintainers":[{"name":"compact","email":"chris@torontocomputerguys.com"}],"dist":{"shasum":"cdd7e87f60d43eb1308d2488670b051bc88ba73c","tarball":"https://registry.npmjs.org/angular-bootstrap-lightbox/-/angular-bootstrap-lightbox-0.6.0.tgz","integrity":"sha512-0EdAD6+PfVfMNwaHoncq6XlIptNOPGrX+AGPOr6rq5jPPLQOv9BKoNMTKw8JB84lhkVyQzi3gCW2FqV23xrVAA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDU5unUeLnCTJIZd7L1yuYAoG5O99vjAtZT4Zl9200WpAIgI+dbB0iCQdeWkfL3kw8E23AlGn8CGHhsB7djQVUALGQ="}]}},"0.6.1":{"name":"angular-bootstrap-lightbox","version":"0.6.1","description":"An AngularJS lightbox built using UI Bootstrap Modal.","keywords":["angular","lightbox","image","gallery"],"license":"MIT","repository":{"type":"git","url":"git://github.com/compact/angular-bootstrap-lightbox.git"},"homepage":"http://compact.github.io/angular-bootstrap-lightbox/","dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-angular-templates":"^0.5.7","grunt-contrib-concat":"^0.5.1","grunt-contrib-cssmin":"^0.12.3","grunt-contrib-htmlmin":"^0.4.0","grunt-contrib-jshint":"^0.11.2","grunt-contrib-uglify":"^0.9.1","grunt-jsdoc-to-markdown":"^1.1.1","grunt-ng-annotate":"^0.10.0","jit-grunt":"^0.9.1","time-grunt":"^1.2.0"},"gitHead":"68cdfc2aa161e4937d128265d64b23cd68f62408","bugs":{"url":"https://github.com/compact/angular-bootstrap-lightbox/issues"},"_id":"angular-bootstrap-lightbox@0.6.1","scripts":{},"_shasum":"46b4c97a9742ac1208fa18f282d5e09dcf812fc3","_from":".","_npmVersion":"2.9.1","_nodeVersion":"0.12.2","_npmUser":{"name":"compact","email":"chris@torontocomputerguys.com"},"maintainers":[{"name":"compact","email":"chris@torontocomputerguys.com"}],"dist":{"shasum":"46b4c97a9742ac1208fa18f282d5e09dcf812fc3","tarball":"https://registry.npmjs.org/angular-bootstrap-lightbox/-/angular-bootstrap-lightbox-0.6.1.tgz","integrity":"sha512-lapzDGOh7GAiBWTur3CBeRxGzdwDgVzUB3VpOC/IBNd6wB/C4Ifmbvf770TBmXEuPz6RRpUm3bG+AnXwq2DfwA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAfpMXXxsUYUyQaeJORwIj2uFn/Iz5n2RZIelS8Gyky2AiAFHavTrejDIhJCLJmqQMvH3Sf+zFNaQPAhedZX1UHfFQ=="}]}},"0.7.0":{"name":"angular-bootstrap-lightbox","version":"0.7.0","description":"An AngularJS lightbox built using UI Bootstrap Modal.","keywords":["angular","lightbox","image","gallery"],"license":"MIT","repository":{"type":"git","url":"git://github.com/compact/angular-bootstrap-lightbox.git"},"homepage":"http://compact.github.io/angular-bootstrap-lightbox/","dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-angular-templates":"^0.5.7","grunt-contrib-concat":"^0.5.1","grunt-contrib-cssmin":"^0.13.0","grunt-contrib-htmlmin":"^0.4.0","grunt-contrib-jshint":"^0.11.2","grunt-contrib-uglify":"^0.9.1","grunt-jsdoc-to-markdown":"^1.1.1","grunt-ng-annotate":"^1.0.1","jit-grunt":"^0.9.1","time-grunt":"^1.2.1"},"gitHead":"42671df7d48cfb533de926d1f8e5ed57265fed9a","bugs":{"url":"https://github.com/compact/angular-bootstrap-lightbox/issues"},"_id":"angular-bootstrap-lightbox@0.7.0","scripts":{},"_shasum":"a385d0da54b86a8431a96e175d3a5d17f34f643a","_from":".","_npmVersion":"2.13.4","_nodeVersion":"0.12.4","_npmUser":{"name":"compact","email":"chris@torontocomputerguys.com"},"maintainers":[{"name":"compact","email":"chris@torontocomputerguys.com"}],"dist":{"shasum":"a385d0da54b86a8431a96e175d3a5d17f34f643a","tarball":"https://registry.npmjs.org/angular-bootstrap-lightbox/-/angular-bootstrap-lightbox-0.7.0.tgz","integrity":"sha512-3vr/7OhiYtsZ08YQBtuIYBQPoLMorEDDy5kKxa2SJd3dKDtyocbmO0lAZR6lwlkANEOOTg4tZVwfzwgWXqGn1Q==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDR6ovM6gCRpMZ3WZ+ELbIYGDTANj9lc7a4GhO9obXaegIgZ9PkTMw3PepPMwkZvJTfwThUqprvoP3jMxzHDWJcXMU="}]}},"0.8.0":{"name":"angular-bootstrap-lightbox","version":"0.8.0","description":"An AngularJS lightbox built using UI Bootstrap Modal.","keywords":["angular","lightbox","image","gallery"],"license":"MIT","repository":{"type":"git","url":"git://github.com/compact/angular-bootstrap-lightbox.git"},"homepage":"http://compact.github.io/angular-bootstrap-lightbox/","dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-angular-templates":"^0.5.7","grunt-contrib-concat":"^0.5.1","grunt-contrib-cssmin":"^0.13.0","grunt-contrib-htmlmin":"^0.4.0","grunt-contrib-jshint":"^0.11.2","grunt-contrib-uglify":"^0.9.1","grunt-jsdoc-to-markdown":"^1.1.1","grunt-ng-annotate":"^1.0.1","jit-grunt":"^0.9.1","time-grunt":"^1.2.1"},"gitHead":"25e651f7055e157d47de70c6bc06375c8bc3da7b","bugs":{"url":"https://github.com/compact/angular-bootstrap-lightbox/issues"},"_id":"angular-bootstrap-lightbox@0.8.0","scripts":{},"_shasum":"ae6af16a1531748b246d6b015988bdbd73fea604","_from":".","_npmVersion":"2.13.4","_nodeVersion":"0.12.4","_npmUser":{"name":"compact","email":"chris@torontocomputerguys.com"},"maintainers":[{"name":"compact","email":"chris@torontocomputerguys.com"}],"dist":{"shasum":"ae6af16a1531748b246d6b015988bdbd73fea604","tarball":"https://registry.npmjs.org/angular-bootstrap-lightbox/-/angular-bootstrap-lightbox-0.8.0.tgz","integrity":"sha512-Z6c7VWyabWIKi9mBa11BhSInI4mZDlj9+u1UaEPt3AQCHZ8m/uPu9JOeT+BzDMLowH/IpOADsVQ+qHO6TZJp3g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDyj6LJ8BcW2NkPoykFR7xZBHv57+H/5H4TKekQ49NkoQIhAO96jqwdETdd6E0k1zUQx+hTjjJuQV2JIYVxps6itN2C"}]}},"0.9.0":{"name":"angular-bootstrap-lightbox","version":"0.9.0","description":"An AngularJS lightbox built using UI Bootstrap Modal.","keywords":["angular","lightbox","image","gallery"],"license":"MIT","repository":{"type":"git","url":"git://github.com/compact/angular-bootstrap-lightbox.git"},"homepage":"http://compact.github.io/angular-bootstrap-lightbox/","dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-angular-templates":"^0.5.7","grunt-contrib-concat":"^0.5.1","grunt-contrib-cssmin":"^0.13.0","grunt-contrib-htmlmin":"^0.4.0","grunt-contrib-jshint":"^0.11.3","grunt-contrib-uglify":"^0.9.2","grunt-jsdoc-to-markdown":"^1.1.1","grunt-ng-annotate":"^1.0.1","jit-grunt":"^0.9.1","time-grunt":"^1.2.1"},"gitHead":"67f7b14dcb15419b29e08d5ec9638ce17144eda5","bugs":{"url":"https://github.com/compact/angular-bootstrap-lightbox/issues"},"_id":"angular-bootstrap-lightbox@0.9.0","scripts":{},"_shasum":"15e8feddc95fdc88aa54b6c3e337c09583e2543f","_from":".","_npmVersion":"2.14.2","_nodeVersion":"0.12.4","_npmUser":{"name":"compact","email":"chris@torontocomputerguys.com"},"maintainers":[{"name":"compact","email":"chris@torontocomputerguys.com"}],"dist":{"shasum":"15e8feddc95fdc88aa54b6c3e337c09583e2543f","tarball":"https://registry.npmjs.org/angular-bootstrap-lightbox/-/angular-bootstrap-lightbox-0.9.0.tgz","integrity":"sha512-LFfYmu2/WFud+CCHFpm3773eSVTNfxra+IQQfn7Dp0IOljpM8IqR16EWQxhUTxuDGIUBbpqeIxn3sX4U0Z7xMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHWirfq+9/YmX0bldEj4t7hyIs3rLUgzO/Y/xOGfQ08KAiBrUK4dr0utpcW8DbHJLsem47HWXF43hVTT7KKn8w7kaw=="}]}},"0.10.0":{"name":"angular-bootstrap-lightbox","version":"0.10.0","description":"An AngularJS lightbox built using UI Bootstrap Modal.","keywords":["angular","lightbox","image","gallery"],"license":"MIT","repository":{"type":"git","url":"git://github.com/compact/angular-bootstrap-lightbox.git"},"homepage":"http://compact.github.io/angular-bootstrap-lightbox/","dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-angular-templates":"^0.5.7","grunt-contrib-concat":"^0.5.1","grunt-contrib-cssmin":"^0.14.0","grunt-contrib-htmlmin":"^0.5.0","grunt-contrib-jshint":"^0.11.3","grunt-contrib-uglify":"^0.9.2","grunt-jsdoc-to-markdown":"^1.1.1","grunt-ng-annotate":"^1.0.1","jit-grunt":"^0.9.1","time-grunt":"^1.2.2"},"gitHead":"b41d53eaf3433e01c5bfc5def6e6ab574a9c7d24","bugs":{"url":"https://github.com/compact/angular-bootstrap-lightbox/issues"},"_id":"angular-bootstrap-lightbox@0.10.0","scripts":{},"_shasum":"b2c13ddb093b1485f4dbd81afcf5c806d1b1033f","_from":".","_npmVersion":"3.3.9","_nodeVersion":"0.12.7","_npmUser":{"name":"compact","email":"chris@torontocomputerguys.com"},"maintainers":[{"name":"compact","email":"chris@torontocomputerguys.com"}],"dist":{"shasum":"b2c13ddb093b1485f4dbd81afcf5c806d1b1033f","tarball":"https://registry.npmjs.org/angular-bootstrap-lightbox/-/angular-bootstrap-lightbox-0.10.0.tgz","integrity":"sha512-DcgrhFfXQTTXWRurD03V1yE5oadjnSnVlpX+kF2EuEzTHNBBhykTuwo2KdowheaIGHzX0tmf4VaJurny1KoU6g==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIF3NI1yWiYlLUivJEwWCil7EMQ38gzXIkYCguBvQlbHsAiEA9evm5rqtsQlPhX0GiLpdil4asCxSam2CF5F+XkhTuxw="}]}},"0.11.0":{"name":"angular-bootstrap-lightbox","version":"0.11.0","description":"An AngularJS lightbox built using UI Bootstrap Modal.","keywords":["angular","lightbox","image","gallery"],"license":"MIT","repository":{"type":"git","url":"git://github.com/compact/angular-bootstrap-lightbox.git"},"homepage":"http://compact.github.io/angular-bootstrap-lightbox/","dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-angular-templates":"^0.5.7","grunt-contrib-concat":"^0.5.1","grunt-contrib-cssmin":"^0.14.0","grunt-contrib-htmlmin":"^0.5.0","grunt-contrib-jshint":"^0.11.3","grunt-contrib-uglify":"^0.9.2","grunt-jsdoc-to-markdown":"^1.1.1","grunt-ng-annotate":"^1.0.1","jit-grunt":"^0.9.1","time-grunt":"^1.2.2"},"gitHead":"dc0c726dc9bc4234fca7d73526737a62fcef88c0","bugs":{"url":"https://github.com/compact/angular-bootstrap-lightbox/issues"},"_id":"angular-bootstrap-lightbox@0.11.0","scripts":{},"_shasum":"2945333dce2572289c3821455a741c4e4448e5e7","_from":".","_npmVersion":"3.7.1","_nodeVersion":"4.2.6","_npmUser":{"name":"compact","email":"chris@torontocomputerguys.com"},"dist":{"shasum":"2945333dce2572289c3821455a741c4e4448e5e7","tarball":"https://registry.npmjs.org/angular-bootstrap-lightbox/-/angular-bootstrap-lightbox-0.11.0.tgz","integrity":"sha512-efr2kutAIp7qo7U+O1K5FcPUT9WwEUleIuYCThivqebORxOXapbw8opVjUavHGSu7Sn7Z4PTYqnnEvpSDTxPiQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIGBRr8C1kmOPEXv+u5vKTqns/sGE8gbn8bcvTSTpHEAsAiBQy26fWv8UurHQLdNNVBfQcavLEGo+d5xSq7p9Or6Tng=="}]},"maintainers":[{"name":"compact","email":"chris@torontocomputerguys.com"}],"_npmOperationalInternal":{"host":"packages-13-west.internal.npmjs.com","tmp":"tmp/angular-bootstrap-lightbox-0.11.0.tgz_1458521890898_0.3751595728099346"}},"0.12.0":{"name":"angular-bootstrap-lightbox","version":"0.12.0","description":"An AngularJS lightbox built using UI Bootstrap Modal.","keywords":["angular","lightbox","image","gallery"],"license":"MIT","repository":{"type":"git","url":"git://github.com/compact/angular-bootstrap-lightbox.git"},"homepage":"http://compact.github.io/angular-bootstrap-lightbox/","dependencies":{},"devDependencies":{"grunt":"^0.4.5","grunt-angular-templates":"^0.5.7","grunt-contrib-concat":"^0.5.1","grunt-contrib-cssmin":"^0.14.0","grunt-contrib-htmlmin":"^0.5.0","grunt-contrib-jshint":"^0.11.3","grunt-contrib-uglify":"^0.9.2","grunt-jsdoc-to-markdown":"^1.1.1","grunt-ng-annotate":"^1.0.1","jit-grunt":"^0.9.1","time-grunt":"^1.2.2"},"gitHead":"aa0875997d256f77d24bae19851fb1a6ca08a50f","bugs":{"url":"https://github.com/compact/angular-bootstrap-lightbox/issues"},"_id":"angular-bootstrap-lightbox@0.12.0","scripts":{},"_shasum":"5dce19730bd207a4c1873e340c393abab50b1929","_from":".","_npmVersion":"3.7.1","_nodeVersion":"4.2.6","_npmUser":{"name":"compact","email":"chris@torontocomputerguys.com"},"dist":{"shasum":"5dce19730bd207a4c1873e340c393abab50b1929","tarball":"https://registry.npmjs.org/angular-bootstrap-lightbox/-/angular-bootstrap-lightbox-0.12.0.tgz","integrity":"sha512-He1Sai2ZL94Mgpr7J5nJ6NIrIgnhSdNVaXAXeuQQB/v65mCEqU02QOE/AxQ8E6bnUSymPDPuKKigSchVWBRhrw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDMGzoz2MWRlUZOyL63GS/MQQtextZkiqcfFr+38ZcBwAiAivMMOVz6udDoejg7BZT9k4tNpirzULg1tf3pqWmXURQ=="}]},"maintainers":[{"name":"compact","email":"chris@torontocomputerguys.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/angular-bootstrap-lightbox-0.12.0.tgz_1460341424937_0.6204772172495723"}}},"readme":"# angular-bootstrap-lightbox\n\nThis lightbox displays images using an [AngularUI Bootstrap Modal](http://angular-ui.github.io/bootstrap/#/modal) (v0.14).\n\nWhen the lightbox is opened, navigating to the previous/next image can be achieved by clicking buttons above the image, clicking the left/right arrow keys, or swiping to the left/right (optional with ngTouch). The escape key for closing the modal is automatically binded by AngularUI Bootstrap.\n\nLarge images are scaled to fit inside the window. An optional image caption overlays the top left corner of the image.\n\n## Demos\n\n[Demos](http://compact.github.io/angular-bootstrap-lightbox/)\n\n## Setup\n\n1. Install in one of the following ways:\n\n  * Install with Bower: `bower install angular-bootstrap-lightbox --save`\n  * Install with npm: `npm install angular-bootstrap-lightbox --save`\n  * Manually save the script and stylesheet from [`dist`](dist).\n\n2. Include the stylesheet in your app:\n\n  ```html\n  <link rel=\"stylesheet\" href=\"angular-bootstrap-lightbox/dist/angular-bootstrap-lightbox.css\">\n  ```\n\n3. Include the script in your app:\n\n  ```html\n  <script src=\"angular-bootstrap-lightbox/dist/angular-bootstrap-lightbox.js\"></script>\n  ```\n\n4. The Angular module is named `bootstrapLightbox`. Add it as a dependency to your module:\n\n  ```js\n  angular.module('app', ['bootstrapLightbox']);\n  ```\n\n5. Optional dependencies:\n\n  * To enable swipe navigation in the lightbox, include the [ngTouch](https://docs.angularjs.org/api/ngTouch) script.\n  * To show a loading bar while an image is loading, include the [angular-loading-bar](https://github.com/chieffancypants/angular-loading-bar) script.\n  * For video support, include the [ng-videosharing-embed](https://github.com/erost/ng-videosharing-embed) script.\n\n## Basic example\n\nGallery:\n\n```html\n<ul ng-controller=\"GalleryCtrl\">\n  <li ng-repeat=\"image in images\">\n    <a ng-click=\"openLightboxModal($index)\">\n      <img ng-src=\"{{image.thumbUrl}}\" class=\"img-thumbnail\">\n    </a>\n  </li>\n</ul>\n```\n\nController:\n\n```js\nangular.module('app').controller('GalleryCtrl', function ($scope, Lightbox) {\n  $scope.images = [\n    {\n      'url': '1.jpg',\n      'caption': 'Optional caption',\n      'thumbUrl': 'thumb1.jpg' // used only for this example\n    },\n    {\n      'url': '2.gif',\n      'thumbUrl': 'thumb2.jpg'\n    },\n    {\n      'url': '3.png',\n      'thumbUrl': 'thumb3.png'\n    }\n  ];\n\n  $scope.openLightboxModal = function (index) {\n    Lightbox.openModal($scope.images, index);\n  };\n});\n```\n\n## Configuration\n\n### Changing the appearance of the modal lightbox\n\nThe default view template for the lightbox is [lightbox.html](src/lightbox.html). Its look can be changed by making your own custom template and/or adding CSS rules; for example, use the selector `.lightbox-image-caption` to style the caption.\n\nIf you make your own template and save it at `lightbox.html`, no further code is necessary. If you save it at a different path, set it in the provider:\n\n```js\nangular.module('app').config(function (LightboxProvider) {\n  // set a custom template\n  LightboxProvider.templateUrl = 'path/to/your-template.html';\n});\n```\n\n### Disabling the keyboard navigation\n\nThe keyboard navigation in the lightbox with the left/right arrow keys can be enabled/disabled at any time by changing the value of the boolean `Lightbox.keyboardNavEnabled`.\n\n### Array of images\n\nThe first argument to `Lightbox.openModal` must be an array, and its elements may be of any type. In the basic example above, it is an array of objects with properties `url` and `caption`, but this is only the default and is not required. To let the `Lightbox` service know the correct values, set these methods in the provider:\n\n```js\nangular.module('app').config(function (LightboxProvider) {\n  LightboxProvider.getImageUrl = function (image) {\n    return '/base/dir/' + image.getName();\n  };\n\n  LightboxProvider.getImageCaption = function (image) {\n    return image.label;\n  };\n});\n```\n\n### Image and modal scaling\n\nBy default, images are scaled only if they are too large for the modal to contain without scrolling.\n\nIf you want all images to be scaled to the maximum possible dimensions, update the `Lightbox.fullScreenMode` boolean:\n\n```js\nangular.module('app').config(function (LightboxProvider) {\n  LightboxProvider.fullScreenMode = true;\n});\n```\n\nFor more custom behaviour, see the [documentation](src/lightbox-service.js) of the methods `calculateImageDimensionLimits` and `calculateModalDimensions`.\n\n### Videos\n\nAn element in the array of 'images' is considered a video if it is an object with a `type` property having the value `video` (see the [demo](http://compact.github.io/angular-bootstrap-lightbox/demo5/index.html)). To change this, write your own `LightboxProvider.isVideo` method.\n\nBy default, a video is embedded directly if its url ends in `.mp4`, `.ogg`, or `.webm`. Every other url is considered a video from an external sharing service (such as YouTube). To change this check, edit the `LightboxProvider.isSharedVideo` method. The `ng-videosharing-embed` library is used for embedding shared videos if it is included in your app. You can use another video library by changing the template.\n\nFor now, the maximum video dimensions are fixed at 1280x720 (16:9).\n\n## Development\n\n* [API documentation](api.md) of the services and directive in the Angular module\n\n* Setup:\n\n  ```sh\n  npm install\n  bower install\n  ```\n\n* Build:\n\n  ```sh\n  grunt\n  ```\n\n* Generate docs:\n\n  ```sh\n  grunt jsdoc2md\n  ```\n\n* Serve the GitHub Pages:\n\n  ```sh\n  git checkout gh-pages\n  git checkout master -- dist/angular-bootstrap-lightbox.min.js dist/angular-bootstrap-lightbox.min.css\n  bundle install\n  bundle exec jekyll serve\n  ```\n","maintainers":[{"name":"compact","email":"chris@torontocomputerguys.com"}],"time":{"modified":"2022-06-13T02:50:55.539Z","created":"2015-02-22T06:26:02.285Z","0.4.0":"2015-02-22T06:26:02.285Z","0.5.0":"2015-03-18T13:18:36.368Z","0.6.0":"2015-04-25T16:20:20.858Z","0.6.1":"2015-05-14T05:16:36.080Z","0.7.0":"2015-08-15T07:29:57.540Z","0.8.0":"2015-08-16T17:42:02.409Z","0.9.0":"2015-09-09T06:11:02.797Z","0.10.0":"2015-10-25T02:27:37.273Z","0.11.0":"2016-03-21T00:58:13.669Z","0.12.0":"2016-04-11T02:23:46.108Z"},"homepage":"http://compact.github.io/angular-bootstrap-lightbox/","keywords":["angular","lightbox","image","gallery"],"repository":{"type":"git","url":"git://github.com/compact/angular-bootstrap-lightbox.git"},"bugs":{"url":"https://github.com/compact/angular-bootstrap-lightbox/issues"},"license":"MIT","readmeFilename":"README.md","users":{"jonabasque":true,"herrherrmann":true}}