You would need to make use of promise chaining.
So in your service you would have (notice we are returning the promise):
this.save = function(newAccount) {
..... // Do business logic on account before submit
return restangular.all('accounts').post(newAccount).then(function(result){
...... // Do business logic after successful save
return newAccount;
}, function(error){
...... // Do business logic on error
});
};
And then inside your controller:
$scope.saveAccount = function(newAccount) {
service.save(newAccount).then(function(savedAccount){
$scope.account = savedAccount;
}, function(errror) {
..... // Error handling
});
};