How to disable ng-required validation for a larger form part
<p>I have a large form part, that shall be disabled in some scenarios.
I am using a <code>&lt;fieldset&gt;</code> tag with <code>ng-disabled</code> attribute, to enable/disable the form part.</p>

<pre><code> &lt;ng-form name="myForm"&gt;
    &lt;fieldset ng-disabled="myModel.isFieldsetDisabled"&gt;
      &lt;input id="myTextField" type="text" ng-required="true" ng-model="myModel.myAttribute"&gt;
      ... lots of other fields
    &lt;/fieldset&gt;
  &lt;/ng-form&gt;
</code></pre>

<p><strong>The problem is</strong>: When I disable the <code>&lt;fieldset&gt;</code>, the ng-form is still <strong>invalid</strong>, because some of the input fields are empty (but ought to be required). I expected these validations to be turned off when disabled.</p>

<p>How to achieve a valid ng-form without fumbling with all ng-required attributes on all input fields in the disabled form.</p>

<p>see the plunker: <a href="https://plnkr.co/edit/2JpSFqBqwdfgTa2wO4Ei?p=preview" rel="nofollow">https://plnkr.co/edit/2JpSFqBqwdfgTa2wO4Ei?p=preview</a></p>