9 lines
241 B
HTML
9 lines
241 B
HTML
<div *ngIf="messageService.messages.length">
|
|
<h2>Messages</h2>
|
|
<button class="clear" (click)="messageService.clear()">clear</button>
|
|
<br>
|
|
<ol>
|
|
<li *ngFor='let message of messageService.messages'> {{message}} </li>
|
|
</ol>
|
|
</div>
|