2 <div class=
"comment-account-date">
3 <div class=
"comment-account">{{ comment.by }}
</div>
4 <div class=
"comment-date">{{ comment.createdAt | myFromNow }}
</div>
6 <div>{{ comment.text }}
</div>
8 <div class=
"comment-actions">
9 <div *
ngIf=
"isUserLoggedIn()" (click)=
"onWantToReply()" class=
"comment-action-reply">Reply
</div>
13 *
ngIf=
"isUserLoggedIn() && inReplyToCommentId === comment.id" [video]=
"video" [parentComment]=
"comment" [focusOnInit]=
"true"
14 (commentCreated)=
"onCommentReplyCreated($event)"
15 ></my-video-comment-add>
17 <div *
ngIf=
"commentTree" class=
"children">
18 <div *
ngFor=
"let commentChild of commentTree.children">
20 [comment]=
"commentChild.comment"
22 [inReplyToCommentId]=
"inReplyToCommentId"
23 [commentTree]=
"commentChild"
24 (wantedToReply)=
"onWantedToReply($event)"
25 (resetReply)=
"onResetReply()"