$scope.editPostComment = false;
Whenever I click on the button, it displays the textarea in all the repeated items instead of just the clicked div!
<div class="commentBox" ng-show = "editPostComment">
<textarea name="editor2" class="content-box allfilecomment" id="comment-box" focus-me="{{focusCommentBox}}"
ng-model="allCommentText"
markdown-editor="{'iconlibrary': 'fa', addExtraButtons: true, resize: 'vertical'}"
rows="10">
</textarea>
<div class="hints">
<span class="boldtext">**Bold**</span>
<span class="italictext">_italics_</span>
<span class="striketext">~~strike~~</span>
<span class="codetext">'code'</span>
<span class="codetext">'''preformatted'''</span>
<span class="quotetext">>quote</span>
</div>
<div id="comment-btns">
<button class="btn btn-primary pull-left" ng-class="{'loading': commentig}" ng-disabled="commentig" ng-click="postAllComment(commentmode)">Edit</button>
</div>
</div>