From: Kai Moritz Date: Fri, 1 May 2020 17:16:34 +0000 (+0200) Subject: 1: The Hero Editor X-Git-Url: http://juplo.de/gitweb/?a=commitdiff_plain;h=76abd89bee87b35b57e3e609038df39b8004ebea;p=examples%2Fangular-tour-of-heroes 1: The Hero Editor b) Show the HeroesComponent view --- 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() {