ngtimeago

time ago angularjs plugin allow to show the time in human readable firmat....for example like few time ago,,,,,hours ago,,,,etc
6 people use it
Author: 2218611?v=3 uttesh

ng-timeago

AngularJS module for simple time ago on static data. No directives here, just a filters.

Quick start

demo : http://uttesh.github.io/ngtimeago/

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>

comments powered by Disqus
This page was last updated almost 2 years ago.