an class="pl-s"><span class="pl-pds">'</span>nemLogging<span class="pl-pds">'</span></span>])
<span class="pl-c">//note this can be any type of injectable angular dependency (factory, service.. etc)</span>
.<span class="pl-en">service</span>(<span class="pl-s"><span class="pl-pds">"</span>apiLogger<span class="pl-pds">"</span></span>, <span class="pl-k">function</span> (<span class="pl-smi">$scope</span>, <span class="pl-smi">nemSimpleLogger</span>) {
  <span class="pl-k">var</span> logger <span class="pl-k