var SaveIdeaEvaluationForm = function (evaluationForm, ideaId, stageId, isEvaluated) {
return $http({
url: SparkApp.FormEvaluation.SaveIdeaEvaluationForm,
method: "POST",
contentType: "application/x-www-form-urlencoded",
dataType: "json",
data: {
"evaluationForm": evaluationForm,
"ideaId": ideaId,
"stageId": stageId,
"isEvaluated": isEvaluated
}
});
};
its asynchronous by default , do we have any property to set as synchronous??