ngInjector-loader
Webpack loader to resolve angular-injector functions
Simple wrapper around angular-injector to allow it to be used as a loader. Can be used as a config loader like so:
module:
Or it can be used as a require loader (but not the recommended use case) like so:
The output of the above is to take functions wrapped in ng and output a function wrapped in an array with it's parameters properly injected.
input:
output:
"$scope" "$attrs" {}