Fix Angular.js for MSIE documentMode detection