In controller I've a list like this:

```
scope.data = [ { user: { address: { city: 'Boston'} } } ];

```

And a property, where I've the name to access the object:

```
scope.propertyName = 'user.address.city';

```

In HTML, I've a ng-repeat where I put a dynamic input to edit that value.

```
<div ng-repeat="item in data">
    <input ng-model="item[propertyName]">
</div>

```

My question is: How can I bind the value of the item with the ng-model?