title: Angular form validation - form in form
body: <p>I want to validate two forms. The MAIN form is for e.q. for <strong>Company</strong> model and second form is for <strong>CompanyAddress</strong> model. </p>
  
  <p><code>CompanyAddressForm</code> is inside <code>CompanyForm</code>. 
  I'm having problems while validating CompanyForm. It depends on <code>CompanyAddressForm</code> validation and I don't want that. </p>
  
  <pre><code>// Main form
  &lt;form ...&gt;
      &lt;input ... required /&gt;
      // MODAL
      &lt;button submit ... ng-disabled=MainForm.$invalid&gt;
  &lt;/form&gt;
  
  // Second form is in modal
  &lt;form. ..&gt;
      &lt;input ... /&gt;
      &lt;button submit=SecondForm.$invalid /&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>// And there is problem. </p>