Auto-inject the ng module when instantiating the injector for the resolve functions.
Closes #15