Skip to content

siddii/angular-timer

Folders and files

NameName
Last commit message
Last commit date
Jul 23, 2017
Mar 8, 2017
Oct 2, 2015
Jan 18, 2018
Feb 16, 2017
Jun 15, 2015
Feb 16, 2017
Mar 30, 2015
Feb 17, 2017
Mar 13, 2015
Oct 2, 2015
Aug 26, 2013
Dec 8, 2018
Dec 8, 2018
Jun 15, 2015
Aug 13, 2017
Jun 15, 2015
Jan 5, 2018

Repository files navigation

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.