Skip to content

lcasartelli/ngGallery

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ngGallery

Very simple gallery provider for Angular.js applications

Usage

HTML

<script type="text/javascript" src='../bower_components/angular/angular.min.js'></script>
<script type="text/javascript" src='../src/ngGallery.js'></script>

JavaScript

var app = angular.module('exampleApp', ['ngGallery']);


app.controller('MainCtrl', function (ngGallery) {
  this.open = function () {
    ngGallery.open({ 
      images: ['./img/dw_1.jpg'],
      showClose: true,
      closeByEscape: true
    });
  };
});

References

Heavily inspired by ngDialog.

License

MIT Licensed

About

Simple gallery provider for Angular.js applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published