
committed by
Igor Minar

parent
344a5ca545
commit
9bbf009dff
@ -2,7 +2,7 @@
|
||||
import { Component } from '@angular/core';
|
||||
|
||||
@Component({
|
||||
selector: 'my-app',
|
||||
template: '<hero-form></hero-form>'
|
||||
selector: 'app-root',
|
||||
template: '<app-hero-form></app-hero-form>'
|
||||
})
|
||||
export class AppComponent { }
|
||||
|
@ -5,7 +5,7 @@ import { Component } from '@angular/core';
|
||||
import { Hero } from './hero';
|
||||
|
||||
@Component({
|
||||
selector: 'hero-form',
|
||||
selector: 'app-hero-form',
|
||||
templateUrl: './hero-form.component.html'
|
||||
})
|
||||
export class HeroFormComponent {
|
||||
|
Reference in New Issue
Block a user