I'm using the following code to get condition object by rest api,this object have operator and response fields ,I need to use them in if condition statement like
if(response condition.operator condition.response)
condition.operator should be < , > or else ,So how to get condition operator by EL?
Full code
Conditions.get({id:id}).$promise.then(function(condition){
if(response condition.operator condition.response){
console.log("")
}
});
Aucun commentaire:
Enregistrer un commentaire