urish / angular-moment

Moment.JS directives for Angular.JS (timeago and more)
MIT License
2.6k stars 397 forks source link

am-time-ago on hidden popover #252

Closed jasonbaik closed 8 years ago

jasonbaik commented 8 years ago

I'm running into an issue in this situation where the contents of an uncreated element (popover) on the DOM is this:

<div class="hidden"> <span am-time-ago="object.time" class="time-ago"></span> </div>

The time ago appears correctly but the time won't update dynamically in real time. I think this has something to do with the digest cycle but not exactly sure. Has anyone run into this?