[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);
app.config(function ($provide) {
$provide.decorator('$log', function ($delegate) {
decorate($delegate);
return $delegate;
});
});
app.decorator('$log', ['$delegate', function ($delegate) {
decorate($delegate);
return $delegate;
}]);
};
return LogLevel;