2016-04-27 11:28:22 -07:00
|
|
|
import {Component} from '@angular/core';
|
2016-02-02 14:39:34 +01:00
|
|
|
import {HeroParentComponent} from './hero-parent.component';
|
|
|
|
import {NameParentComponent} from './name-parent.component';
|
|
|
|
import {VersionParentComponent} from './version-parent.component';
|
|
|
|
import {VoteTakerComponent} from './votetaker.component';
|
2016-03-07 11:50:14 -08:00
|
|
|
import {CountdownLocalVarParentComponent,
|
|
|
|
CountdownViewChildParentComponent} from './countdown-parent.component';
|
2016-02-02 14:39:34 +01:00
|
|
|
import {MissionControlComponent} from './missioncontrol.component';
|
|
|
|
|
2016-04-12 18:42:27 -07:00
|
|
|
let directives: any[] = [
|
2016-02-02 14:39:34 +01:00
|
|
|
HeroParentComponent,
|
|
|
|
NameParentComponent,
|
|
|
|
VersionParentComponent,
|
|
|
|
VoteTakerComponent,
|
2016-04-12 18:42:27 -07:00
|
|
|
MissionControlComponent,
|
|
|
|
];
|
|
|
|
|
|
|
|
// Include Countdown examples
|
|
|
|
// unless in e2e tests which they break.
|
|
|
|
if (!/e2e/.test(location.search)) {
|
|
|
|
console.log('adding countdown timer examples')
|
|
|
|
directives.push(CountdownLocalVarParentComponent);
|
|
|
|
directives.push(CountdownViewChildParentComponent);
|
|
|
|
}
|
|
|
|
|
|
|
|
@Component({
|
|
|
|
selector: 'app',
|
|
|
|
templateUrl: 'app/app.component.html',
|
|
|
|
directives: directives
|
2016-02-02 14:39:34 +01:00
|
|
|
})
|
2016-03-07 11:50:14 -08:00
|
|
|
export class AppComponent { }
|