not minified/obfuscated)
$injector.invoke(function(serviceA){});

// annotated
function explicit(serviceA) {};
explicit.$inject = [&#39;serviceA&#39;];
$injector.invoke(explicit);

// inline
$injector.invoke([&#39;serviceA&#39;, function(serviceA){}]);
</code></pre>
<h2 id="inference">Inference</h2>
<p>In JavaScript calling <code>toString()</code> on a function returns the function definition. The definition
can then be parsed and the function arguments can be extracted. This method of discovering
annotatio