customizations, Ember will provide a default Controller instance for us at run time.</p>
<p>To generate a controller, run</p>
<pre class="language-bash line-numbers"><code class="bash language-bash">ember generate controller my-controller-name
<span aria-hidden="true" class="line-numbers-rows"><a href="#C1_L1" id=C1_L1></a></span></code></pre>
<p>This creates a controller file at <code>app/controllers/my-controller-name.js</code>, and a unit test file at <code>tests/unit/controllers/my-controller-name-test.