From 76abd89bee87b35b57e3e609038df39b8004ebea Mon Sep 17 00:00:00 2001 From: Kai Moritz Date: Fri, 1 May 2020 19:16:34 +0200 Subject: [PATCH] 1: The Hero Editor b) Show the HeroesComponent view --- src/app/app.component.html | 1 + src/app/heroes/heroes.component.html | 2 +- src/app/heroes/heroes.component.ts | 2 ++ 3 files changed, 4 insertions(+), 1 deletion(-) diff --git a/src/app/app.component.html b/src/app/app.component.html index 6213adc..ee3d478 100644 --- a/src/app/app.component.html +++ b/src/app/app.component.html @@ -1 +1,2 @@

{{title}}

+ diff --git a/src/app/heroes/heroes.component.html b/src/app/heroes/heroes.component.html index ef2a0c4..6fe45e5 100644 --- a/src/app/heroes/heroes.component.html +++ b/src/app/heroes/heroes.component.html @@ -1 +1 @@ -

heroes works!

+{{hero}} diff --git a/src/app/heroes/heroes.component.ts b/src/app/heroes/heroes.component.ts index 8d9f662..b8b6314 100644 --- a/src/app/heroes/heroes.component.ts +++ b/src/app/heroes/heroes.component.ts @@ -7,6 +7,8 @@ import { Component, OnInit } from '@angular/core'; }) export class HeroesComponent implements OnInit { + hero = 'Windstorm'; + constructor() { } ngOnInit() { -- 2.20.1