 link within the app.</li>
<li>Some other event in the app causes the URL to change.</li>
</ul>
<p>No matter how the URL gets set, the first thing that happens is that the Ember router maps the URL to a route handler.</p>
<p>The route handler then typically does two things:</p>
<ul>
<li>It renders a template.</li>
<li>It loads a model that is then available to the template.</li>
</ul>
</section>
<h2 id="toc_templates">Templates <a href="#toc_templates"><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 51