ext = <span class="hljs-string">'Hello World'</span>;<br>}); <span class="hljs-comment">// error: Based on the Component-First Pattern, you should avoid the use of controllers</span><br></code></pre>

<p>The following patterns are <strong>not</strong> considered problems;</p>

<pre><code class="javascript hljs"><span class="hljs-comment">/*eslint angular/no-controller: 2*/</span><br><br><span class="hljs-comment">// valid</span><br>angular.module(<span class="hljs-string">'myModule'</span>).directive(<span 