comments display

master
Matt Huntington 9 years ago
parent 6f37646da0
commit 44d6ea2838

@ -1 +1,4 @@
<h1>Comments</h1>
<ul>
<li *ngFor="let comment of comments">{{comment}}</li>
</ul>

@ -6,5 +6,9 @@ import { Component } from '@angular/core';
styleUrls: ['./app.component.css']
})
export class AppComponent {
title = 'app';
comments = [
'first comment!',
'nice work!',
'I would also like to congratulate you!'
];
}

Loading…
Cancel
Save