Function to clear data from $scope.send