I want to use timeago plugin to make dates look nicer. The problem is that these dates are fetched via AngularJS from the REST dynamically. So, when I attach this jQuery plu
You can use the am-time-ago directive from angular-moment module (which is based on Moment.js).
It does not require jQuery, and the time get updated as time progresses. Example:
The content of the above span will be replaced with a relative time string, for example "2 hours ago", and will be automatically updated as time progresses.