angular/angular.js — pull request #6102 by wesalvaro (2014-02-04 00:54:02+00:00)
Title: bug(mocks): Correctly calls workFn with "this".

Currently, the workFn is called with the implied, global "this" instead of the current context as it should be.
See this bin for the problem and suggested solution:
http://jsbin.com/EDohOlih/1/edit