title: Given array of strings, iterate over each and call promise based function, but wait to continue until the previous iteration finishes?
body: <p>I have an array of strings...</p>
  
  <pre><code>var urls = ["http:/www.google.com", "http:/www.giantbomb.com", "http:/www.stackoverflow.com"]
  </code></pre>
  
  <p>And I need to call a function that is promise based for each one....however I want to wait for the previous one to finish before calling the next.</p>
  
  <pre><code>_.forEach(urls, function(url){ 
      promiseFunc(url); //BUT IT SHOULD WAIT TO CONTINUE FOR LOOP
  });
  </code></pre>
  
  <p>Is there a good way to achieve this?</p>
  
  <p>I am also using AngularJS.</p>