time ago angularjs plugin allow to show the time in human readable format....for example like few time ago,,,,,hours ago,,,,etc
JavaScript HTML
Switch branches/tags
Nothing to show
Clone or download
Latest commit 515df94 Jun 5, 2015
Permalink
Failed to load latest commit information.
demo demo file added Jul 18, 2014
LICENSE.txt first commit Jul 3, 2014
README.md Update README.md Jun 5, 2015
app.js demo file added Jul 18, 2014
bower.json first commit Jul 3, 2014
index.html demo file added Jul 18, 2014
ngtimeago.js demo file added Jul 18, 2014

README.md

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

                                <p>
                                    
                                    <small>

                                        posted {{createdOn|timeago}} by uttesh


                                    </small>
                                </p>

Contributions

For problems/suggestions please create an issue on Github.

Contributors

Credits

  • Other uknown JSFiddles