2016-06-01 14:54:30 -04:00
|
|
|
// #docregion
|
|
|
|
import { Component } from '@angular/core';
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'my-app',
|
2016-08-28 20:07:13 -04:00
|
|
|
template: `<hero-form-template1></hero-form-template1>
|
2016-06-01 14:54:30 -04:00
|
|
|
<hr>
|
2016-08-28 20:07:13 -04:00
|
|
|
<hero-form-template2></hero-form-template2>
|
|
|
|
<hr>
|
|
|
|
<hero-form-reactive3></hero-form-reactive3>`
|
2016-06-01 14:54:30 -04:00
|
|
|
})
|
|
|
|
export class AppComponent { }
|