angular/angular.js — pull request #10564 by DavidSouther (2014-12-23 15:23:42+00:00)
Title: feat($exceptionHandlerProvider): add mode `logAndRethrow`

Mode `logAndRethrow` captures the logged exception for later inspection by test
assertions, while also throwing the exception for when the implementation
depends on thrown behavior (eg leaving the method early).

Depends on #10563
Closes #10540