just add beforeEach(module('myApp.services'))
to your describe block. This will load the services module with the “version” service into the test injector and that will make it available to your test.
just add beforeEach(module('myApp.services'))
to your describe block. This will load the services module with the “version” service into the test injector and that will make it available to your test.