I am trying to create a \'time ago\' pipe for my Angular 2 application.
It should transform a date to a string such as \'5 minutes ago\' or \'60 seconds ago\'. It wo
Use ngx-moment https://github.com/urish/ngx-moment, a pipe integration with Momentjs, with i18n support