title: Angular $scope.$digest vs $scope.$apply
body: <p>I just want to know how to use <code>$digest</code>. Inside a controller the following code works fine and it updates the DOM after 3 seconds:</p>
  <pre><code>setTimeout(function(){
      $scope.$apply(function(){
          $scope.name = 'Alice';
      });
  }, 3000);
  </code></pre>
  <p>However by using</p>
  <pre><code>setTimeout(function(){
          $scope.$digest(function(){
          $scope.name = 'Alice';
          });
      }, 3000);
  </code></pre>
  <p>nothing happens...</p>
  <p>I thought that they do the same thing. Am I wrong?</p>