angular/angular.js — pull request #2981 by kenspirit (2013-06-16 05:01:28+00:00)
Title: feat(MockHttpExpectation): matchData supports function as data

Add support for passing function as validating data:
- To avoid hacking test method of RegExp
- Optionally overwrite toString method of fn to show validation tips