Error: $rootScope:inprog — What is the correct way to 'not' execute $apply in angular?
问题 AngularJS Wiki - Anti-Patterns states the following: Don't do if (!$scope.$$phase) $scope.$apply() , it means your $scope.$apply() isn't high enough in the call stack. And I kind of understand this. There is a built in logic that determines when what needs to be executed. And when an external developer, without direct insigt in the runtime executions of different procedures, determines what should run where, it counteracts the framework. But I am currently uploading a large file where the