Check $rootScope.$$phase before triggering a digest (fixes #15).

Fixes https://github.com/allaud/quick-ng-repeat/issues/15