ns is disallowed when the injector is in strict mode.
<em>NOTE:</em> This does not work with minification, and obfuscation tools since these tools change the
argument names.</p>
<h2 id="-inject-annotation"><code>$inject</code> Annotation</h2>
<p>By adding an <code>$inject</code> property onto a function the injection parameters can be specified.</p>
<h2 id="inline">Inline</h2>
<p>As an array of injection names, where the last item in the array is the function to call.</p>

</div>




<div>
  

  

  

  
<h