The "ModuleBuilder" uses an internally created $injector that didn't include the "ngMock" module (it did include "ng").
Due to this services like "$location" (only provided by "ngMock" module of AngularJS 1.2+) and "$log" could not be mocked out by ngImprovedTesting.
The "ModuleBuilder" uses an internally created $injector that didn't include the "ngMock" module (it did include "ng"). Due to this services like "$location" (only provided by "ngMock" module of AngularJS 1.2+) and "$log" could not be mocked out by ngImprovedTesting.