angular/angular.js — pull request #4650 by fmoggia (2013-10-25 17:01:03+00:00)
Title: Fix for getElementByTagName invoked on Text node.

This is a fixed for the problem with the find method when it tries to invoke getElementsByTagName on a TextNode causing the following error:
TypeError: Object #

has no method 'getElementsByTagName'

Bug report:
https://github.com/angular/angular.js/issues/4120