title: Make asynchronous http calls synchronous while displaying progress bar?
body: <p>I want to get json from web service ,displaying progress circle and processing it , then displaying the data. how to make asynchronous calls synchronous without jdts and with loading circle ?Any library or anything else?</p>
  
  <p>For example  </p>
  
  <pre><code>....some code  
  call to json webservice //wait for http call to execute while displaying loading circle  
  update the UI
  </code></pre>