angular.element(document.body).scope().$root;

参考

Get the $rootScope from a DOM element