Component to customize AngularJS exception handling