fix(ngView): IE8 regression due to expando on non-element nodes

This fixes the "TypeError: Object doesn't support this property or method" error on IE8,
when view templates contain leading white-space.

Closes #3971