Actually i have one JSON in scope. I need to change that JSON values whenever the ng-model will get change. In the below example JSON having rowset with attributes (CuId,Name,Quantity,Rate,Amount). These attribute names i have to bind the with control(textbox) like ng-model=CuId. So whenever the corresponding attributes value will get change the JSON need to be update.

Please provide any example related to this or suggest me how to achieve this.

JSON:

```
 $scope.postJSON =   {
      "entityInfo": {
        "entity": "",
        "tenantId": "",
        "timeStamp": "2016-04-07T09:37:16.187Z"
      },
      "collections": {
        "Customer29Jan16": {
          "meta": {
            "parentreference": "***",
            "pkname": "***",
            "fkname": "***"
          },
          "rowset": [
            {
              "CuId": "test",
              "Name": "test",
              "Quantity": "test",
              "Rate": "test",
              "Amount": "test"
            }
          ],
          "rowfilter": []
        }
      }
    }

```