angular/angular.js — pull request #2379 by juliemr (2013-04-11 20:28:00+00:00)
Title: fix(a): allow jqLite triggerHandler('click') on anchors

Previously, anchor elements could not be used with triggerHandler because
triggerHandler passes null as the event, and any anchor element with an empty
href automatically calls event.preventDefault(). Add a check that event
exists before calling preventDefault.