<span class="commentTitle">{{commentThread.title}}</span>
<input type="button" ng-show="addComment==false" 
       value="Dodaj komentarz" ng-click="addComment=true"></input>
<form ng-show="addComment==true">
  <label>Temat</label>
  <input type="text" ng-model="replySubject")></input>
  <label>Komentarz</label>
  <textarea ng-model="replyBody"></textarea>
  <input type="button" value="Wyślij" 
  ng-click=
  "addComment=false; addReply(commentThread._id,replySubject,replyBody)"
  ></input>
</form>
<input type="button" ng-show="addComment==true" 
       value="Anuluj" ng-click="addComment=false;"></input>
<div ng-repeat="comment in commentThread.replies" 
     ng-init="reply=false;replySubject='';replyBody=''">
  <div class="comment" ng-include="'/static/comment.html'"></div>
</div>