on</span> (<span class="pl-smi">$scope</span>, <span class="pl-smi">nemSimpleLogger</span>) {
  <span class="pl-k">var</span> logger <span class="pl-k">=</span> <span class="pl-smi">nemSimpleLogger</span>.<span class="pl-en">spawn</span>();
  <span class="pl-smi">logger</span>.<span class="pl-smi">currentLevel</span> <span class="pl-k">=</span> <span class="pl-smi">logger</span>.<span class="pl-c1">LEVELS</span>.<span class="pl-smi">error</span>;
  <span class="pl-k">return</span> logger;
})
.<span class="p