title: protractor return array of values from repeater
body: <p>I am looking for an easy way to return an array of values from protractor's <code>all.(by.repeater)</code></p>
  
  <p>Basically, I just want an easy way to make an array of <code>usernames</code> given a repeater like <code>user in users</code>.</p>
  
  <p>Right now I'm building it like this:</p>
  
  <pre><code>allUsers = element.all(by.repeater('user in users').column('user.username')).then(function(array){
    var results = []
    var elemLength = array.length
    for(var n = 0; n &lt; elemLength; n++){
      array[n].getText().then(function(username){
        results.push(username)
      })
    }
    return results
  });
  expect(allUsers).toContain(newUser)
  </code></pre>
  
  <p>Is there a more concise, reusable way to do this built into protractor/jasmine that I just can't find?</p>