I've seen several questions about injecting lodash/underscore into controllers, but I need to put it into a custom provider. I can't seem to figure out how to do that. There is a similar question here that has an accepted answer, but I can't figure out how to re-purpose that technique for my situation.
I'm injecting lodash into angular as a separate module:
angular.module("lodash", [])
.factory("_", ($window) => {
return $window._;
});
How would I modify or add to this in order to make lodash injectable into my provider?