</pre></div>
<p>Typically, the <code>model</code> hook should return an <a href="../../models/">Ember Data</a> record,
but it can also return any <a href="https://www.promisejs.org/">promise</a> object (Ember
Data records are promises/), or a plain JavaScript object or array. Ember will
wait until the data finishes loading (until the promise is resolved/) before
rendering the template.</p>
<p>The route will then set the return value from the <code>model</code> hook as the <code>model</code> property of the 