title: Return multiple data independent resource promises
body: <p>Via this link I've found an example of returning multiple resource promises (lines 44-52):</p>
  
  <p><a href="http://embed.plnkr.co/LZad4ZyEYjrbKiTPbAwu/script.js" rel="nofollow">http://embed.plnkr.co/LZad4ZyEYjrbKiTPbAwu/script.js</a></p>
  
  <pre><code>var GistsData = Gists.query();
  var MetaData = Meta.get();
  
  GistsData.$promise.then(function(response) {console.log('Resource 1 data loaded!')});
  MetaData.$promise.then(function(response) {console.log('Resource 2 data loaded!')});
  
  return $q.all([GistsData.$promise, MetaData.$promise]);
  </code></pre>
  
  <p>In my case the second resource API call (MetaData) is dependent on a specific value that is returned by the first resource API call (GistsData).</p>
  
  <p>I try to figure out how I can use a value that is returned by GistData (for example an ID) in the MetaData resource? Like this:</p>
  
  <pre><code>var MetaData = Meta.get({ id : GistsData.id });
  </code></pre>
  
  <p>I want to return a promise after the MetaData with the ID has returned a promise.</p>
  
  <p>Thank you</p>