angular/angular.js — pull request #9663 by shahata (2014-10-17 12:53:28+00:00)
Title: fix($sce): do not assume $document[0] exists

this is important to that people can mock $window without having to add stuff that angular uses internally into it

Closes #9661