theinfogrid.com
How to Handle Errors Globally in Angular - The InfoGrid
I will show you how to intercept the default error handler, send the errors to a remote logging service and show a friendly message.