2 <div class=
"title-page title-page-single">
7 *
ngIf=
"isUserLoggedIn()"
9 (commentCreated)=
"onCommentThreadCreated($event)"
10 ></my-video-comment-add>
13 class=
"comment-threads"
15 [infiniteScrollUpDistance]=
"1.5"
16 [infiniteScrollDistance]=
"0.5"
17 (scrolled)=
"onNearOfBottom()"
19 <div *
ngFor=
"let comment of comments">
23 [inReplyToCommentId]=
"inReplyToCommentId"
24 [commentTree]=
"threadComments[comment.id]"
25 (wantedToReply)=
"onWantedToReply($event)"
26 (resetReply)=
"onResetReply()"
29 <div *
ngIf=
"comment.totalReplies !== 0 && !threadComments[comment.id]" (click)=
"viewReplies(comment)" class=
"view-replies">
30 View all {{ comment.totalReplies }} replies
32 <span *
ngIf=
"!threadLoading[comment.id]" class=
"glyphicon glyphicon-menu-down"></span>
33 <my-loader class=
"comment-thread-loading" [loading]=
"threadLoading[comment.id]"></my-loader>