1.0.1 • Published 8 years ago

angular-stagger v1.0.1

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

angular-stagger Build Status

An angular service that pushes elements in an array with a delay to create staggering animations

Installation

Download node at nodejs.org and install it, if you haven't already.

npm install angular-stagger --save

Usage

angular.module('todoApp', ['stagger'])
  .controller('TodoListController', function($scope, stagger) {
    var todos = [
      {text:'learn angular', done:true},
      {text:'build an angular app', done:false}];
    stagger($scope, 'todos', todos, 300);
 });

Tests

npm install
npm test

Dev Dependencies

License

MIT

Generated by package-json-to-readme