angular-underscore-module
angular-underscore-module copied to clipboard
Cannot be injected into providers
Hi
With the current approach, the underscore dependecy could not be used in provider.
Prefer using this approach to allowed injection in all angular components:
angular
.module('underscore', [])
.constant('_', window._);
Regards