• Stars
    star
    794
  • Rank 57,349 (Top 2 %)
  • Language
    HTML
  • License
    MIT License
  • Created over 11 years ago
  • Updated about 4 years ago

Reviews

There are no reviews yet. Be the first to send feedback to the community and the maintainers!

Repository Details

re-usable/inter-operable AngularJS timer directive ⛺

angular-timer — A simple, re-usable, inter-operable timer directive

Build Status

Getting started

With any of the following options...

Requirements

With Bower install :

  • Install humanize-duration using Bower - bower install humanize-duration
  • Install momentjs using Bower - bower install momentjs

And include these scripts in your webpage :

  • bower_components/momentjs/min/moment.min.js
  • bower_components/momentjs/min/locales.min.js
  • bower_components/humanize-duration/humanize-duration.js

Running locally

Install all bower components - bower install Using Grunt type grunt from command line, the default task will open index.html page in your default browser

Running tests

Following command will run both unit & End-to-End (e2e) tests

grunt tests

Examples

There are some examples on the index page http://siddii.github.io/angular-timer/index.html. Please go over them to get an understanding on how this module works.