title: Setting fields to dirty to trigger validations in Angular JS
body: <p>I am trying to get all the fields in a form and set them dirty. </p>
  
  <p>Something like this : </p>
  
  <pre><code> $timeout(function () {
  
          $('input').each(function(){
  
               $(this).$dirty=true;
  
          });
      }, 0);
  </code></pre>
  
  <p>This is not working. I do understand that something like this works just fine: </p>
  
  <pre><code>$scope.form.uName.$dirty = true;
  </code></pre>
  
  <p>But when I iterate through all the fields using jquery, something goes wrong. </p>
  
  <p>Here is the fiddle: <a href="http://jsfiddle.net/Qdk5M/1302/" rel="nofollow">http://jsfiddle.net/Qdk5M/1302/</a></p>
  
  <p>Appreciate any help. Thank you.. </p>