fix digest/apply issues

Hi! I was having issues with digest already being in progress.

ACcording to [this](http://stackoverflow.com/a/17958847), you shouldn't be using $apply anyway (i'm not).

This is a fix to that issue.