/>
      </svg></a> </h3>
<section aria-labelledby="toc_testing-controller-needs">
<p>Sometimes controllers have dependencies on other controllers. This is
accomplished by injecting one controller into another. For example, here are two simple controllers. The
<code>CommentsController</code> uses the <code>PostController</code> via <code>inject</code>:</p>
<blockquote>
  <p>You can follow along by generating your own controller with <code>ember generate
controller post</code>, and <code>ember generate contr