<app-chat-window [open]="!collapsed">
  <app-chat-window-nav title="Chat Box">
    <a href="javascript:void(0);" (click)="toggleCollapsed()">{{collapseText}}</a>
  </app-chat-window-nav>
  <app-chat-user-list-item *ngFor="let user of contacts;" 
    [user]="user"
    [lastMessage]="user.lastMessage"
    (click)="onContactClick(user)"></app-chat-user-list-item>
</app-chat-window>