title: $setPristine() method in Angular 1.2.1 doesn't appear to work as intended
body: <p>I have am trying to reset a textbox using the <code>$setPristine</code> function in AngularJS, however it doesn't seem to result in the desired behavior.</p>
  
  <p>My form looks like this:</p>
  
  <pre><code>&lt;form name="addInviteForm" ng-controller="InviteCtrl" ng-submit="sendInvitation(userEmail)"&gt;
  
        Pristine? {{addInviteForm.$pristine}}
  
        &lt;!-- email input --&gt;
        &lt;div&gt;
          &lt;input type="email" name="email" ng-model="userEmail" placeholder="Enter email here"  class="line-item-input see" required&gt;
          &lt;span class="error" ng-show="addInviteForm.email.$error.email" style="color:red"&gt;Invalid Email&lt;/span&gt;
        &lt;/div&gt;
  
        &lt;!-- submit button --&gt;
        &lt;input type="submit" name="send" class="btn btn-success center" value="Send Invitation"&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>And the corresponding code in my controller:</p>
  
  <pre><code>$scope.sendInvitation = function(userEmail) {
  
          // do some work here ...
  
          // hmm, this doesn't seem to work ...
          $scope.addInviteForm.$setPristine();
      };
  </code></pre>
  
  <p>Though the form shows that <code>$pristine</code> is set to <code>true</code> upon form entry, then set to <code>false</code> when entering data in the text-box, after submitting the form it does indeed show that <code>$pristine</code> is set to true .... and yet the value in the textbox remains as it was before the submit button was pressed.</p>
  
  <p>What am I missing here?</p>