2015-12-11 18:37:35 -05:00
|
|
|
// #docregion import
|
2016-05-03 08:06:32 -04:00
|
|
|
import { Component } from '@angular/core';
|
2015-12-11 18:37:35 -05:00
|
|
|
// #enddocregion import
|
2016-05-03 08:06:32 -04:00
|
|
|
import { HeroListComponent } from './hero-list.component';
|
|
|
|
import { SalesTaxComponent } from './sales-tax.component';
|
2015-12-11 18:37:35 -05:00
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'my-app',
|
2015-12-17 16:49:33 -05:00
|
|
|
template: `
|
|
|
|
<hero-list></hero-list>
|
|
|
|
<sales-tax></sales-tax>
|
|
|
|
`,
|
|
|
|
directives: [HeroListComponent, SalesTaxComponent]
|
2015-12-11 18:37:35 -05:00
|
|
|
})
|
|
|
|
// #docregion export
|
|
|
|
export class AppComponent { }
|
2016-04-27 14:28:22 -04:00
|
|
|
// #enddocregion export
|