title: Get sideloaded records in Ember
body: <p>I have a model with hasMany relationship:</p>
  
  <pre><code>App.Offer = DS.Model.extend({
  shop: DS.attr('number'),          //ext key
  name: DS.attr('string'),
  description: DS.attr('number'),
  
  products: DS.hasMany('product', {embedded: true})
  });
  
  App.Product = DS.Model.extend({
  name: DS.attr('string'),
  description: DS.attr('string'),
  });
  </code></pre>
  
  <p>The record are sideloaded by the server and if I use them in templates it works:</p>
  
  <pre><code>{{#each product in model.products}}
      &lt;li&gt;{{product.nome}} - {{product.descrizione}}&lt;/li&gt;
  {{/each}}
  </code></pre>
  
  <p>But what if I want load the products into an array in the controller?</p>
  
  <pre><code>actions: {
      var products = [];
  
      $.each(this.get('model').get('products'), function(index, value) {
          products[index] = value.get('nome');  //this doesn't work
      });
  }
  </code></pre>