add change
This commit is contained in:
parent
632ad58e1b
commit
620a97cc80
|
@ -1,3 +1,3 @@
|
|||
<h2>{{hero.name}} Details</h2>
|
||||
<h2>{{hero.name | uppercase}} Details</h2>
|
||||
<div><span>id: </span>{{hero.id}}</div>
|
||||
<div><span>name: </span>{{hero.name}}</div>
|
|
@ -1,5 +1,5 @@
|
|||
import { Component } from '@angular/core';
|
||||
import { Hero } from './hero';
|
||||
import { Hero } from '../hero';
|
||||
|
||||
@Component({
|
||||
selector: 'app-heroes',
|
||||
|
|
Loading…
Reference in New Issue