angularjs: fix compatibility of internet explorer