title: Http.post return (error 400)
body: <p>I try to post object from back_end  bad always i have error 400 i don't know if the problem is in front on in back-end:</p>
  
  <p>the index.html:</p>
  
  <pre><code>    &lt;div ng-controller="signupCtrl"&gt;                            
       &lt;form name="registrationForm"&gt;                 
      &lt;input type="text" name="firstName" ng-model="user.firstName" required"&gt;
      &lt;input type="text" name="lastName" ng-model="user.lastName" required"&gt;  
  &lt;button type="submit" ng-disabled="registrationForm.$invalid"
          ng-click="verification(registrationForm.$valid,user)"&gt;Submit&lt;/button&gt;                       
      &lt;/form&gt;
          &lt;div&gt;{{user}}&lt;/div&gt;
          &lt;/div&gt;
  </code></pre>
  
  <p>the controller:</p>
  
  <pre><code>demoApp.controller('signupCtrl',function($scope,$http,$location) {
      $scope.verification = function(isValid,user) {
          var test=JSON.stringify(user);
          window.alert(test);
  
          $http.post('http://10.42.0.73:8080/signup',user).
              success(function(respons) {
                  window.alert("hamdoulah")
              });
  
          $http({
              method: 'POST',
              url: 'http://10.42.0.73:8080/signup',
              data: JSON.stringify(user),
              headers: {
                  'Content-Type':'application/json'
              },
  
          }).
              success(function (data, status, headers, config) {
                  window.alert("YES");
              }).
  
              error(function (data, status, headers, config) {
                  window.alert("NO")
              });
      };    
      });
  </code></pre>
  
  <p>please can you help me with this...</p>