angular: $scope extends $rootScope. closes #2593
Merge pull request #2659 from borisyankov/def/angular

angular: $scope extends $rootScope. closes #2593