title: jQuery's "$.when().done()" for AngularJS
body: <p>I was looking for some way to know when two or more ajax calls have finished using AngularJS but I was only able to find it using jQuery:</p>
  
  <pre><code>$.when(promise3, promise5).done(
      function(threeSquare, fiveSquare) {
          console.info(threeSquare, fiveSquare);
      }
  );
  </code></pre>
  
  <p>and:</p>
  
  <pre><code>var promises = [
      $.getJSON('square/2'),
      $.getJSON('square/3'),
      $.getJSON('square/4'),
      $.getJSON('square/5')
  ];
  
  $.when.apply($, promises).done(function() {
      console.info(arguments);
  });
  </code></pre>
  
  <p>is there any way to do something like this using AngularJS?
  Thanks for your support!</p>