I have an array of objects that has a property called startedTimestamp
. I need to show on the front-end how long ago that has been running, on this case I'm using MomentJS with the fromNow()
method. However, that will not updating as the time goes by... to something like 1 minutes ago... and then 2 minutes ago... and so on. Is there a way around that?
I'm using Angular.
Thanks