title: Get data from each object in a forEach
body: <p>I request the data of a movie, this returns all the cast members as objects in an array. I want to output their names (which are in the object in the response array).</p>
  
  <p>By doing the code below I only return the first object because it does the <code>[0]</code> for each object. </p>
  
  <pre><code>angular.forEach(response.credits.cast, function(item){
    console.log (response.credits.cast[0].name)
  })
  </code></pre>
  
  <p>If I remove the <code>[0]</code> the console.log returns <code>undefined</code>.</p>