User impersonation and ie8

Use impersonation working correctly and improving compatibility
with IE 8 according to

http://docs.angularjs.org/guide/ie