Is there a way with protractor to catch all AngularJS $parse errors? I would like to make an array of all errors and attach to the window object and check for them at the en