/a></span></code></pre></div>
<p>As a result of this type injection, all factories of the type <code>route</code> will be
instantiated with the property <code>logger</code> injected. The value of <code>logger</code> will
come from the factory named <code>logger:main</code>.</p>
<p>Routes in this example application can now access the injected logger:</p>
<div class="filename javascript"><div class="ribbon"></div><span>app/routes/index.js</span><pre class="language-javascript line-numbers"><code class="javas