Closed 7yl4r closed 9 years ago
@7yl4r, check out $interval
. I'm still learning how to implement stuff in angular, but it looks promising for this use-case.
nice. that was a lot easier than I expected.
Yeah I was actually pleasantly surprised that it almost replaced setTimeout one-to-one. Just note that a cancel is always needed to avoid memory leaks :fearful:
auto-travel (6ea1c9442d2288b4117092a1681b668baac0abbe) is for some reason preventing the ui display from updating. In theory, things should be the same as before, but apparently angular handles things triggered by ng-hold differently than changes triggered by setTimeout. Hopefully there is some way to force angular to update values.