title: How do I submit a form when input ng-change in AngularJS
body: <p>What is the "AngularJS way" of doing a form submit when any of its inputs have been clicked (or changed)?</p>
  
  <pre><code>&lt;form ng-submit="submit($event)" id="myForm"&gt;
    &lt;input type="checkbox" name="foo" value="bar" ng-click="???"/&gt;
  &lt;/form&gt;
  </code></pre>
  
  <p>I'm tempted to use jQuery and simply doing <code>ng-click="$('#myForm').submit()"</code>, but it's probably worth learning it properly.</p>
  
  <p>I have tried doing <code>ng-click="submit($event)"</code>, but the error here is the <code>$event</code> object within the scope of the <code>input</code> instead of the entire <code>form</code> (correct me if I'm wrong, this is what I'm getting from the documentation).</p>