I have the following issue:
Let's assume I have a list of posts I will show using ng-repeat. After each post (plain text) I want to show a textbox and button. You can enter a comment in the textbox and when pressing the button you will add a comment to that specific post.
Like in here:

The problem I face is how can I build the model to the $scope in order to be unique for each specific post?
Now I have:
$scope.NewComment ={
PostId: '',
Comment: ''
};
If I bind the NewComment.Comment to the textarea then it will not work .. as each of the text-box will actually work for one single post.
Somehow I have to generate dynamic models for each of the post and comment which doesn't sound like a good option.