angular/angular.js — pull request #4744 by Serge-Z (2013-11-01 00:21:42+00:00)
Title: Make triggerHandler work like in jQuery

Make triggerHandler work like jQuery, so that first argument is an event and second argument is a data. Also it is passing data as is, so if I call in one place angular.element(document.body).triggerHandler('is-active', false); then I can expect that in other place I will get false instead of empty array. Hope that makes sense.