title: Pass Data $http.post From AngularJS and ASP.net MVC gets null
body: <p>i'm trying to pass data from AngularJS to ASP.net MVC and is always getting null.
  Here's my code (only posting the essential, button, controller and c#:</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;a class="btn btn-grey btn-lg btn-block" ng-click="AddCar()"&gt;Save&lt;/a&gt;
  </code></pre>
  
  <p>Controller</p>
  
  <pre><code>$scope.AddCar = function () {
              $http.post("Cars/AddCar", JSON.stringify($scope.new.JsonCar)).success(function (data) {
                  Alert(ok)
              })
  </code></pre>
  
  <p>c#</p>
  
  <pre><code>public string AddCar(string JsonCar) 
          {
              try
             ....
          }
  </code></pre>
  
  <p>In JSON.stringify($scope.new.JsonCar) i'm getting this: </p>
  
  <blockquote>
    <p>"{"Name":"FIAT 500","Description":"New
    car","MaxUserCapacity":5,"PhotoPath":"none"}"</p>
  </blockquote>
  
  <p>What i'm doing wrong?</p>