My code is like this
<body ng-app="">
<div ng-init="friends = [{name:'John', phone:'555-1276'},
{name:'Mary', phone:'800-BIG-MARY'},
{name:'Mike', phone:'555-4321'},
{name:'Adam', phone:'555-5678'},
{name:'Julie', phone:'555-8765'},
{name:'Juliette', phone:'555-5678'}]"></div>Name only
<input ng-model="search.name">
<br>
<h3>Results</h3>
<table id="searchObjResults">
<tr>
<th>Name</th>
<th>Phone</th>
</tr>
<tr ng-repeat="friendObj in friends | filter:search:strict">
name: <input ng-model="friendObj.name" />
<td>{{friendObj.name}}</td>
<td>{{friendObj.phone}}</td>
</tr>
</table>
when any search happens I want to bind result data to an input box I provided. Filtering happpens correctly, but i am not able to bind it to my input. it correctly binds to a <td> though.
Fiddle
Can any one tell me what I am doing wrong here?