angular.service.$exceptionHandler

Work in Progress This page is currently being revised. It might be incomplete or contain inaccuracies.

Description

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 is loaded, this service is overriden by mock $exceptionHandler

Dependencies

Example