alfredobarron
8/15/2016 - 4:22 PM

Angular $apply

Angular $apply

if (!$scope.$$phase) {
  $scope.$apply(function() {
    $scope.count = 0;
  });
}