How could i use ng-if from $scope


#1

Hi, i want to use ng-if in :

<div ng-repeat="comment in comments">
**<div ng-if="{{comment.parent}} === '0'">**
<div class="comment-user">{{comment.author.name}}</div>
<div class="comment-isi" ng-bind-html="comment.content"></div>
</div>
</div>

but is not show anything. How could i use ng-if?
Thank you


#2
<div ng-repeat="comment in comments" ng-if="comment.parent === 0">
    <div class="comment-user">{{comment.author.name}}</div>
    <div class="comment-isi" ng-bind-html="comment.content"></div>
</div>

#3

@chnbohwr thank you…