angular-stagger

1.0.1 • Public • Published

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

Package Sidebar

Install

npm i angular-stagger

Weekly Downloads

1

Version

1.0.1

License

MIT

Last publish

Collaborators

  • knorcedger