aboutsummaryrefslogtreecommitdiffstats
path: root/test/AngularSpec.js
diff options
context:
space:
mode:
authorIgor Minar2012-03-21 15:16:41 -0700
committerIgor Minar2012-03-22 16:39:36 -0700
commit5fdab52dd7c269f99839f4fa6b5854d9548269fa (patch)
tree755a94326f85edffeef87425a04f0bb20e2f18e7 /test/AngularSpec.js
parent541bedd1a9692208deae0cd2a93171e87fb7d1ba (diff)
downloadangular.js-5fdab52dd7c269f99839f4fa6b5854d9548269fa.tar.bz2
feat(jqLite): make injector() and scope() work with the document object
For typical app that has ng-app directive on the html element, we now can do: angular.element(document).injector() or .injector() angular.element(document).scope() or .scope() instead of: angular.element(document.getElementsByTagName('html')[0]).injector() ...
Diffstat (limited to 'test/AngularSpec.js')
0 files changed, 0 insertions, 0 deletions