How to post Dynamic list to asp mvc controller
var feature = {
id: 123,
features: $scope.items
};
$http.post(url, JSON.stringify(feature)).success(function(result) {
alert('successfully sent to server');
}).error(function() {
alert('an error occurred');
});