angular/angular.js — pull request #9894 by teux (2014-11-03 22:05:28+00:00)
Title: `inject` function in `angular-mocks` does not forward result

This code returns no result ([angular-mocks.js#L2250](https://github.com/angular/angular.js/blob/master/src/ngMock/angular-mocks.js#L2250)):
```js
injector.invoke(blockFns[i] || angular.noop, this);
```
Therefore promises don't reach the `mocha` and I can't use `chai-as-promised` within `inject`:
```js
it('should run', inject(function(myService) {
return myService.save().should.be.fulfilled;
}));
```