title: AngularJS : Prevent error $digest already in progress when calling $scope.$apply()
body: <p>I'm finding that I need to update my page to my scope manually more and more since building an application in angular.</p>
  
  <p>The only way I know of to do this is to call <code>$apply()</code> from the scope of my controllers and directives. The problem with this is that it keeps throwing an error to the console that reads  :</p>
  
  <blockquote>
    <p>Error: $digest already in progress</p>
  </blockquote>
  
  <p>Does anyone know how to avoid this error or achieve the same thing but in a different way?</p>