Why I am using inside ng-repeat tag it is not working. When I push the button to send the data to the server, it is not going push data but it sends null as I check my mongodb.
This is not happening if I move the input area out of ng-repeat
<h3 ng-repeat="review in reviews" class="icon"> 
       <span class="glyphicon glyphicon-user " aria-hidden="true"></span>
        <small >{{review.username}} </small>
        <small  style="float: right;">{{review.mydate}} </small>
        <hr class="hr">
            <div class="content">
                {{review.text}}
            </div>
        <hr class="hr">
        <div > 
        <a href ng-click="addLike(review)"><span  class="glyphicon glyphicon-thumbs-up" aria-hidden="true"></span></a>
        <span  class="glyphicon glyphicon-comment" aria-hidden="true"></span>
        <span  class="glyphicon glyphicon-share-alt" aria-hidden="true"></span>
        <a href ng-click="removeReview(review)"> <span  class="glyphicon glyphicon-trash" aria-hidden="true"></span></a>
        <hr>
        **<div class="newComment" ng-show='currentUser'   > 
            <input type="text"  placeholder="Pleae post your comment here..."
                   ng-model="newComment"
            >
            <button ng-value="string" type="button" class="btn btn-default"
                    ng-click="submitNewComment(newComment)">Comment</button>
        </div>** 
        <ul>
            <li>
                {{review.comments}}
            </li>
        </ul>
 
     
    