$exceptionHandler

Improve this Doc View Source $exceptionHandler

  1. service in module ng

Any uncaught exception in angular expressions is delegated to this service. The default implementation simply delegates to $log.error which logs it into the browser console.

In unit tests, if angular-mocks.js