Testing new relic js error notifications raised via angularjs