If you are data-binding the values of the record that the user is editing, then your save function could be as simple as:
$scope.save = function () {
WebApi.updateData($scope.tempData);
};
This will only work, of course, if WebApi.updateData can detect changes in existing objects. (In your example, setting tempData back to itself preserves the changes on the data-bound object.)
To setup the data-binding on the edit page, you might store the edited object on the scope ($scope.editedRecord) and then do something like:
<input type="text" ng-model="editedRecord.customerName">
And so on for each property of the edited record you are exposing.