title: Can I block browser UI thread until Angularjs promise finishes?
body: <p>I have a timing issue with a form with multiple input boxes. Some input-boxes are disabled by default.
  When a user presses the TAB key to focus next input-box, I want a promise to block the UI-thread until it has been resolved/rejected.
  This is because the focus-state (enabled/disabled) of the next input-box depends on the result of the http request in the previous input-box.
  If the user types fast and presses the TAB-key, focus will be set to an already enabled input-box further down the chain instead of the next one.</p>
  
  <p>The promise is used in a $http request and when the response arrives, logic will decide if the next input-box should be enabled or not.</p>
  
  <p>Every input-box uses ng-blur to detect loss of focus. The directive for the input-box also keeps track of the search-promise and I have access to it in the blur method inside the directive.</p>
  
  <p>Can it be done?</p>