title: Work with data before return it in Ember.js
body: <p>I'm trying to build a chart using Google Chart in Ember.js but I'don't know how to deal with data in the route/controller before returning the data to the view... </p>
  
  <p>Indeed I need to transform my object into an array for Google Chart. </p>
  
  <p>Is it even possible to do that with Ember.js ?</p>
  
  <pre><code>import Ember from 'ember';
  
  export default Ember.Route.extend({
      model() {
          this.store.findAll('rate').then(data =&gt; {
              console.log(data);
          });
          return [
              ['Task', 'Hours per Day'],
              ['Work', 11],
              ['Eat', 2],
              ['Commute', 2],
              ['Watch TV', 2],
              ['Sleep', 7],
          ];
      }
  });
  </code></pre>
  
  <p>I want to return data from my rate store instead of hard coded values.</p>