[API] Obey strict DI rules

Fix unintended implicit DI usage in  configuration
This commit is contained in:
Victor Woeltjen 2016-01-07 16:03:36 -08:00
parent 9babe7167e
commit 7728d308f2

View File

@ -90,12 +90,10 @@ define(
} }
decorate($log); decorate($log);
app.config(function ($provide) { app.decorator('$log', ['$delegate', function ($delegate) {
$provide.decorator('$log', function ($delegate) { decorate($delegate);
decorate($delegate); return $delegate;
return $delegate; }]);
});
});
}; };
return LogLevel; return LogLevel;