I have a series of comment inputs that repeat. When I start typing in one, all inputs are populated with the characters I am typing.
How do I have the text input value only populate in the text input I am typing into?
Here is what my template looks like:
<li ng-repeat="post in feed.posts" class="media media-clearfix-xs">
<form ng-submit="feed.addComment(post.id, post.comment_set)">
<div class="input-group">
<input ng-model="feed.desc" type="text" class="form-control" />
<span class="input-group-btn">
<button ng-click="submit()" class="btn btn-default"><i class="fa fa-comment-o"></i></button>
</span>
</div>
</form>
</li>