angularjs - Issue for calling 2 function with with one click and 1st should save before 2nd -




this question has answer here:

how can add 2 function 1 ng-click. try : ng-click="save(); send();"

but want save first send. both function having api calls.

call function ng-click="callto2functions()"

$scope.callto2functions =function(){$scope.save();$scope.send();} 




wiki

Comments

Popular posts from this blog

Asterisk AGI Python Script to Dialplan does not work -

python - Read npy file directly from S3 StreamingBody -

kotlin - Out-projected type in generic interface prohibits the use of metod with generic parameter -