aboutsummaryrefslogtreecommitdiff
path: root/src/app/heroes/heroes.component.ts
blob: 0f72ae9ba0ef76fb2f1b42baee0429e1ab6a73c9 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
import { Component, OnInit } from '@angular/core';
import { Hero } from '../hero';

@Component({
  selector: 'app-heroes',
  templateUrl: './heroes.component.html',
  styleUrls: ['./heroes.component.scss']
})
export class HeroesComponent implements OnInit {
  hero: Hero ={
    id: 1,
    name: 'Windstorm'
  };
  
  constructor() { }

  ngOnInit() {
  }

}