$scope.delete = function (row) { $scope.id = $scope.myData[row.rowIndex].EmpID; $http({ method: 'DELETE', url: '/api/Values/Delete/', ContentType: 'application/json', params: {id1:$scope.id} // pass in data as strings }).success(function (data) { }).error(function (data) { }); }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)