angular/angular.js — pull request #1474 by jamesreggio (2012-10-18 22:15:20+00:00)
Title: Fix JQLiteClone in IE7/8

Addresses Issue #1381, wherein non-native HTML elements receive an
empty namespace when used within directives on IE7/8. For example,
`

` renders as `<:nav>`, which prevents the tag
from being styled.

The root cause is the use of `cloneNode` within `JQLiteClone`. Even
with an HTML5 polyfill, early versions of IE are unable to clone
non-native elements without adding this 'empty' namespace.

The solution, as seen in the corresponding `clone` function in full
jQuery, is to use innerHTML upon another established element to create
the clone.