`http://jsfiddle.net/SSSUUUSSS/Bsusr/1/`
The example is taken from here
I want to send reorderd list to a function to save new order of list items.
It really is not clear what you are asking here... my guess is that you are new to Angular and perhaps do not understand how $scope works with two way binding yet. If thats the case...
In short, two-way binding will cause your changes to $scope variables to propagate to the DOM without explicitly passing them to a function.
So there's no need to pass $scope.list into a function, just set $scope.list ( assuming $scope.list and your function are within the same scope of the containing controller function )
For example:
var reorderList = function (){
$scope.list = $scope.list.sort();
saveList ( $scope.list );
};
var saveList = function ( list ){
$http.post ('api.php', list )
.then ( function (response){});
};