angularjs - Issue for calling 2 function with with one click and 1st should save before 2nd -
this question has answer here:
- how add many functions in 1 ng-click? 3 answers
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
Post a Comment