AngularJS: Clear validation errors on a certian element

  angularjs

I have a Form , and i am trying to clear validation errors on a certain element

<input tabindex="2" class="form-control ng-dirty ng-touched ng-empty ng-invalid ng-invalid-required" id="address1" type="text" ng-model="prospect.serviceAddress.address" placeholder="Street Address" required="" aria-required="true">

How can i clear it , using the below syntax ??
I have the below in my controller

angular.element('#address1')

Source: AngularJS Questions

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.