Fix #10259 

Fix of issue https://github.com/angular/angular.js/issues/10259
please add a comment saying this is IE specific