From 560650e0cbab01c5902bee60e5df419cda0deb2f Mon Sep 17 00:00:00 2001 From: Hurlyburly2 Date: Fri, 24 May 2019 16:56:55 -0400 Subject: [PATCH 1/3] starting lesson --- app/app.module.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/app/app.module.ts b/app/app.module.ts index e69de29b..e1c4610f 100644 --- a/app/app.module.ts +++ b/app/app.module.ts @@ -0,0 +1 @@ +import { NgModule } from '@angular/core'; From 8b0a110483837de6047eac904e61dd9fd70aae9d Mon Sep 17 00:00:00 2001 From: Hurlyburly2 Date: Fri, 24 May 2019 17:02:31 -0400 Subject: [PATCH 2/3] continuing lesson --- app/app.module.ts | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/app/app.module.ts b/app/app.module.ts index e1c4610f..e3b83f01 100644 --- a/app/app.module.ts +++ b/app/app.module.ts @@ -1 +1,12 @@ import { NgModule } from '@angular/core'; +import { BrowserModule } from '@angular/platform-browser'; +import { AppComponent } from './app.component'; + +@NgModule({ + imports: [ + BrowserModule + ], + declarations: [], + bootstrap: [] +}) +export class AppModule {} From dab583eff1fa26bad8547a551b9514101876c364 Mon Sep 17 00:00:00 2001 From: Hurlyburly2 Date: Fri, 24 May 2019 17:06:21 -0400 Subject: [PATCH 3/3] it shows up on the screen! --- app/app.component.ts | 7 +++++++ app/app.module.ts | 8 ++++++-- 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 app/app.component.ts diff --git a/app/app.component.ts b/app/app.component.ts new file mode 100644 index 00000000..84645eaa --- /dev/null +++ b/app/app.component.ts @@ -0,0 +1,7 @@ +import { Component } from '@angular/core'; + +@Component({ + selector: 'app', + template: '

My App

' +}) +export class AppComponent {} diff --git a/app/app.module.ts b/app/app.module.ts index e3b83f01..ee387330 100644 --- a/app/app.module.ts +++ b/app/app.module.ts @@ -6,7 +6,11 @@ import { AppComponent } from './app.component'; imports: [ BrowserModule ], - declarations: [], - bootstrap: [] + declarations: [ + AppComponent + ], + bootstrap: [ + AppComponent + ] }) export class AppModule {}