title: prevent multiple form submissions using angular.js - disable form button
body: <p>I want to prevent multiple form submissions using angular.js. The question is related to this <a href="https://stackoverflow.com/questions/15671335/prevent-multiple-form-submissions-in-django">question</a>.</p>
  
  <p>When the user clicks on a form submit button the value / label of the submit button should change to "loading..", status of the button will be set to disabled AND the submit event should be triggered in the normal way, leading to a submit call to the server. This way the user would see the following effect:</p>
  
  <ol>
  <li><p>Immediately: The submit button value changes to "loading.." and gets disabled</p></li>
  <li><p>As soon as the server responds: user gets presented the result of the server request (whereas server responds are handled without angular intervention)</p></li>
  </ol>
  
  <p>I created this <a href="http://plnkr.co/edit/H8b5a8XzOCwgU0nvoEHy" rel="nofollow noreferrer">plunk</a> to show what I mean. My issue relates to this line: <code>elm.attr('disabled',true);</code> . This does not only disable the button, but also prevent to propagate the submit event. Thus I get a disabled button (desired result), but the form does not get submitted (undesired result).</p>
  
  <p>You can see the changing behavior if you comment / uncomment this line : <code>elm.attr('disabled',true);</code></p>
  
  <p>Any idea how to change this?</p>