Open morfin opened 8 years ago
You should make the change in the coffee file and then run grunt
to compile in the releases folder.
Also, why just not doing if (!$scope.$$phase)
?
Your solution is not considered the best approach. Might want to take a look at this: https://stackoverflow.com/questions/12729122/angularjs-prevent-error-digest-already-in-progress-when-calling-scope-apply
When I try to trigger the change event on phone field, I was getting an "$apply already in progress" issue. This fix prevents that. Not sure if this is the best approach though.