ng-timeago!

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.

Download

Sample

July 13, 2014 11:13:00 : {{dates[0] | timeago}}

{{sample1}} : {{dates[1] | timeago}}

Quick start

bower install ng-timeago

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.