title: json object push data angular
body: <p>I am stuck with adding a data in json object api. Can I add a new data with push in object json ? it doesnt add a new object in json api</p>
  
  <pre><code>app.controller('InventoryCtrl', function($scope, $http) {   
      $http({method: 'GET', url: 'http://api.bos.lv/api/v1/inventory/?format=json'}).success( function(data){
          $scope.info = data; // response data 
      });
  
      $scope.add = function() {
          $scope.info.objects.push({"name":$scope.newinfo.name, "description":$scope.newinfo.description, "location":$scope.newinfo.location, "status":$scope.newinfo.status});
      };
      $scope.newinfo = {};
  });
  </code></pre>
  
  <p>json file where i get the data from http </p>
  
  <pre><code>{
    meta: {
    limit: 20,
    next: null,
    offset: 0,
    previous: null,
    total_count: 1
   },
    objects: [
        {
           count: 2,
            created: "2014-02-20T09:01:15.285510",
            description: "Camelion 2300mAh",
            id: 1,
            location: "IT nodala",
            name: "Baterija AA",
            published: true,
            resource_uri: "/api/v1/inventory/1",
            slug: "baterija-aa",
            status: "good condition"
        }
    ]
  }
  </code></pre>