angular/angular.js — pull request #5362 by kseamon (2013-12-10 21:53:48+00:00)
Title: perf(a): do not link when href or name exists in template

perf(a): do not link when href or name exists in template

Change the a directive to link and hookup a click event only when
there is no href or name in the template element.
In a large Google app, this results in about 800 fewer registrations,
saving a small but measurable amount of time and memory.