Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/uttesh/ngtimeago
time ago angularjs plugin allow to show the time in human readable format....for example like few time ago,,,,,hours ago,,,,etc
https://github.com/uttesh/ngtimeago
Last synced: about 6 hours ago
JSON representation
time ago angularjs plugin allow to show the time in human readable format....for example like few time ago,,,,,hours ago,,,,etc
- Host: GitHub
- URL: https://github.com/uttesh/ngtimeago
- Owner: uttesh
- License: mit
- Created: 2014-07-03T17:38:42.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2019-11-18T14:43:42.000Z (almost 5 years ago)
- Last Synced: 2024-10-10T18:39:50.394Z (about 1 month ago)
- Language: JavaScript
- Homepage: http://uttesh.github.io/ngtimeago/
- Size: 795 KB
- Stars: 28
- Watchers: 3
- Forks: 17
- Open Issues: 8
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# ng-timeago demo
Is an AngularJS module for simple time ago on static data. No directives here, just a filters.
Mostly based on various snippets which I found on JSFiddle, with some changes by me.
## Quick start
```
bower install ng-timeago
```
new version
```
bower install ng-timeago0.0.2
```or alternatively download and include `ngtimeago.js` after `angular.min.js`.
Add the `ngtimeago` module as a dependency when creating your app, e.g.
```
var app = angular.module('myApp', ['ngtimeago']);`
```NO NEED TO INJECT in controller directly use in html.
## Rendering
```
posted {{createdOn|timeago}} by uttesh
```## Contributions
For problems/suggestions please create an issue on Github.
## Contributors
* [@uttesh](https://twitter.com/uttesh)
## Credits
* Other uknown JSFiddles