title: $setPristine() not working.
body: <p>**** Note I cut out some of my other functions so that the code could be read through faster.  I cannot clear the form. when i click the button with the cancel function.  I thought I could set a default form, but this doesn't make a difference.</p>
  
  <pre><code>&lt;form  name="myForm" novalidate ng-submit="submit()"&gt; 
      &lt;table class="mealCost"&gt; 
  
          &lt;!-- descriptions --&gt;
          &lt;tr&gt; 
              &lt;td&gt; Base Meal Price: &lt;/td&gt;
              &lt;td&gt;&lt;input type="number" name="price" ng-model="mealPrice" required&gt;&lt;/td&gt;
          &lt;/tr&gt;
          &lt;!-- waiter puts in the info --&gt;
          &lt;tr&gt; 
              &lt;td&gt; Tax Rate: % &lt;/td&gt;
              &lt;td&gt;&lt;input type="number" step="0.01" name="tax" ng-model="mealTax" required&gt;&lt;/td&gt;
  
          &lt;/tr&gt;
  
          &lt;tr&gt; 
              &lt;td&gt; Tip Percentage: % &lt;/td&gt;
              &lt;td&gt;&lt;input type="number"  name="tip" step="0.01" ng-model="tipPercent" required&gt;&lt;/td&gt;
  
          &lt;/tr&gt;
  
      &lt;/table&gt;
  
      &lt;p class="userResponse"&gt; 
      &lt;input type="submit" value="Submit"&gt; 
      &lt;!-- &lt;input id="cancel" type="submit" value="Cancel" ng-submit="cancel(original)"&gt; --&gt;
      &lt;button ng-click="cancel()"&gt;Start Over&lt;/button&gt;
      &lt;/p&gt;
  
  &lt;/form&gt;  
  </code></pre>
  
  <p>Here is my javascript  I am trying to set my form to $setPristine using the button command wiht ng-click.  I though that setting a default form would help but nothing happens on submit</p>
  
  <pre><code>var app = angular.module('myApp',[]).
      controller('costController', function($scope) {
          // $scope.ready= false;
          $scope.mealPrice ="" ;
          $scope.mealTax = 0.05;
          $scope.tipPercent =0.05; 
          //  possibly could do 
  
          var defaultForm={
              price: "",
              tax: "",
              tip:""
          }
  
  $scope.cancel = function() {
              $scope.myForm.$setPristine();
              $scope.user = angular.copy(defaultForm);
              console.log('empty');
          }
  </code></pre>