controller.js
$scope.save = function (position) { $http.post(serviceBase + 'Positions', { model: $scope.position }) .success(function (data) { });
$scope.position
{Name: "Name",Description:"Description"{
[HttpPost] public HttpResponseMessage Post(Position model) { }
$http.post(serviceBase + 'Positions', $scope.position)
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)