I am overriding the default $exceptionHandler
, similar to what is seen here on angular's site: https://docs.angularjs.org/api/ng/service/$exceptionHandler
works great.
However, I am semi-unclear as to how to 'watch' this process when not $emit
'ing a named event whom's handler explicitly passes the error (conjured or otherwise) down into the $exceptionHandler (which is injected in the `.directive || .config || .service | .run || etc... ).
TL:DR - I would like to know how to simulate an unhandled exception which the default angular $exceptionHandler is meant to pick up - specifically from the chrome console/REPL?