angular: $scope extends $rootScope. closes #2593