HTML
<ul>
<li ng-repeat="obj in strA">
obj.str = {{obj}}
<input ng-model="obj" />
</li>
</ul>
obj in <code>{{ strA.a1 }}</code>
obj in <code>{{ strA.a2 }}</code>
Controller
$scope.strA = {
a1: "abc",
a2: "bcd"
};
When I change the value in text box, obj inside ng-repeat changes. but value wrapped by don't change
Here is the codepen : http://codepen.io/anon/pen/vLyrxm
Why is it so? as per my knowledge, both the value should be change