1.0.4 • Published 8 years ago

angular-ovac-gallery v1.0.4

Weekly downloads
3
License
ISC
Repository
github
Last release
8 years ago

Angular OVAC Gallery

Super simple Angular directive preview images as slide.

Demo

Installation

Install with Bower

$ bower install angular-ovac-gallery

or

Install with npm

$ npm install angular-ovac-gallery

or

Clone this repo

$ git clone

Add scripts to project

<link rel="stylesheet" href="/bower_component/angular-ovac-gallery/angular-ovac-gallery.css" media="screen" title="no title" charset="utf-8">

<script src="/bower_component/angular-ovac-gallery/angular-ovac-gallery.js" charset="utf-8"></script>

Import into angular

angular.module('AppName', ['ovac.gallery']);

Usage

Add directive to element

Note: the images object must be passed in using the images attribute.

<div ovac-gallery images="controllername.images" tumbs="true"></div>