angular/angular.js — pull request #612 by vojtajina (2011-10-20 16:06:27+00:00)
Title: fix($location): rewrite links with nested elements

So docs is fixed now, inner links do not reload the page:
http://ci.angularjs.org/job/angular.js-vojta/41/artifact/build/pkg/0.10.4-849c5365/docs-0.10.4-849c5365/index.html

For example:
inner text

If you click on "text", then the span element is event.target, so we need to traverse the DOM.