angular/angular.js — pull request #3646 by justinrknowles (2013-08-18 18:40:12+00:00)
Title: fix(sce) IE 7 standards mode not supported

Changed documentMode test from 8 to 7 to support IE 8 in IE 7 standards mode while still protecting against quirks mode. documentMode returns the following values: 5 - quirks mode, 7 - IE 7 standards mode, 8 - IE 8 standards mode. See Issue#3633.