2016-11-13 14:09:28 -08:00
|
|
|
import { Component } from '@angular/core';
|
2016-10-13 17:59:00 +01:00
|
|
|
|
2016-11-13 14:09:28 -08:00
|
|
|
export class HeroComponent { }
|
2016-10-13 17:59:00 +01:00
|
|
|
|
2016-11-13 14:09:28 -08:00
|
|
|
HeroComponent.annotations = [
|
2016-10-13 17:59:00 +01:00
|
|
|
new Component({
|
|
|
|
selector: 'hero-di-inject-additional',
|
2016-11-13 14:09:28 -08:00
|
|
|
template: `<hero-title title="Tour of Heroes"></hero-title>`
|
2016-10-13 17:59:00 +01:00
|
|
|
})
|
|
|
|
];
|