Update to use preferred $scope.apply check

Angular 1.2 has introduced a better way to do $scope.$apply checking. Small change to use $evalAsync