test $scope