Check .21893phase before triggering a digest (fixes #15).
Merge pull request #16 from mmattax/master

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