title: pass array of objects using $http angularjs
body: <p>this is what i tried, </p>
  
  <pre><code>var items = [{a:1,b:2},{a:3,b:5}];   
  $http.put("/url",{data:items}).then(function(response){
       .... 
      ....    
    });
  </code></pre>
  
  <p>What i am getting in server is </p>
  
  <pre><code>params: { invtransactionserviceData: [ [Object] ] } }
  </code></pre>
  
  <p>where this goes wrong ?</p>