siddii/angular-timer — pull request #2 by timothyleerussell (2013-06-23 07:35:58+00:00)
Title: One more little update I made...regarding where the first intervalEvent fires.

For my app, I decided that the intervalEvent should only fire at the end of the first interval, not on timer init. I think this little change brings the intervalEvent more in line with expected behavior (at least for me).

I didn't notice it until I setup an event that I wanted to show 30 minutes into the application after first load but the intervalEvents started firing on the first tick, not after the first interval had elapsed.

In addition to autosave, I'm using this to run a ping event, keeping my server session alive and it didn't make sense to pop a dialog immediately after someone had logged in.

Thanks,
Timothy