$scope.reset = function() {
        if($scope.editing){
            $scope.project = angular.copy($scope.original);
        }
    };