AngularJS : Prevent error $digest already in progress when calling $scope.$apply()

I’m finding that I need to update my page to my scope manually more and more since building an application in angular. The only way I know of to do this is to call $apply() from the scope of my controllers and directives. The problem with this is that it keeps throwing an error to … Read more