remove $scope