summaryrefslogtreecommitdiff
path: root/sample-apps/angular-chat/src/app/app.component.html
diff options
context:
space:
mode:
Diffstat (limited to 'sample-apps/angular-chat/src/app/app.component.html')
-rw-r--r--sample-apps/angular-chat/src/app/app.component.html6
1 files changed, 6 insertions, 0 deletions
diff --git a/sample-apps/angular-chat/src/app/app.component.html b/sample-apps/angular-chat/src/app/app.component.html
index 1e28015..ec6739b 100644
--- a/sample-apps/angular-chat/src/app/app.component.html
+++ b/sample-apps/angular-chat/src/app/app.component.html
@@ -1,4 +1,10 @@
<div>
+ Chat Room directory:
+ <ul>
+ <li *ngFor="let room of (directory$ | async)">
+ {{room}}
+ </li>
+ </ul>
<form>
<label>Username</label>
<input type="text" name="user-id" [(ngModel)]="userId" />