From 44d6ea2838a48ce72a31a28580bc9f8706ff8899 Mon Sep 17 00:00:00 2001 From: Matt Huntington Date: Wed, 12 Jul 2017 20:10:32 -0400 Subject: [PATCH] comments display --- src/app/app.component.html | 3 +++ src/app/app.component.ts | 6 +++++- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index b1cd54e..7affe57 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1 +1,4 @@

Comments

+ diff --git a/src/app/app.component.ts b/src/app/app.component.ts index 7b0f672..b6968b2 100644 --- a/src/app/app.component.ts +++ b/src/app/app.component.ts @@ -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!' + ]; }