angular2-moment

moment.js pipes for Angular2
Homepage:
2 people use it
Author: 892318?v=3 urish

moment.js pipes for Angular 2.0

This module works with the latest beta release of Angular 2.0.

For the stable AngularJS 1.x version of this module, please see angular-moment.

Installation

npm install --save angular2-moment

Usage

<time>{{someDate | amTimeAgo }}</time>

Complete Example

If the example below does not show, please visit our github page.

Demo

See online demo on Plunker

comments powered by Disqus
This page was last updated over 1 year ago.