title: Angular2 - Validate and submit form from outside
body: <p>I have a simple form that looks like this</p>
  
  <pre><code>&lt;form (ngSubmit)="save()" #documentEditForm="ngForm"&gt;
  ...
  &lt;/form&gt;
  </code></pre>
  
  <p>and need to <strong>submit</strong> the the form and check its <strong>validity</strong> from outside </p>
  
  <p>eg. Either submit  it programatically, or with a <code>&lt;button type="submit"&gt;</code> that is outside the <code>&lt;form&gt;</code> tags.</p>