https://github.com/siddii/angular-timer
re-usable/inter-operable AngularJS timer directive ⛺
https://github.com/siddii/angular-timer
Last synced: 3 months ago
JSON representation
re-usable/inter-operable AngularJS timer directive ⛺
- Host: GitHub
- URL: https://github.com/siddii/angular-timer
- Owner: siddii
- License: mit
- Created: 2013-05-23T18:44:47.000Z (about 12 years ago)
- Default Branch: master
- Last Pushed: 2020-09-26T06:08:55.000Z (over 4 years ago)
- Last Synced: 2024-04-14T12:54:12.571Z (about 1 year ago)
- Language: HTML
- Homepage: http://siddii.github.io/angular-timer/
- Size: 37.4 MB
- Stars: 795
- Watchers: 25
- Forks: 941
- Open Issues: 176
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE.txt
Awesome Lists containing this project
README
## angular-timer — A simple, re-usable, inter-operable timer directive
[](https://travis-ci.org/siddii/angular-timer)
[](https://www.codeshelter.co/)### Getting started
With any of the following options...
* Download the latest script file - https://raw.github.com/siddii/angular-timer/master/dist/angular-timer.min.js
* Clone the repo - `[email protected]:siddii/angular-timer.git`
* Install angular-timer using [Bower](http://bower.io) - `bower install angular-timer`
* Add ``timer`` to your list of modules### Requirements
With Bower install :
* Install humanize-duration using [Bower](http://bower.io) - `bower install humanize-duration`
* Install momentjs using [Bower](http://bower.io) - `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](http://gruntjs.com/) 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
```bash
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.