2016-05-03 14:06:32 +02:00
|
|
|
import { Component } from '@angular/core';
|
|
|
|
|
|
|
|
import { HeroParentComponent } from './hero-parent.component';
|
|
|
|
import { NameParentComponent } from './name-parent.component';
|
|
|
|
import { VersionParentComponent } from './version-parent.component';
|
|
|
|
import { VoteTakerComponent } from './votetaker.component';
|
|
|
|
import { CountdownLocalVarParentComponent,
|
|
|
|
CountdownViewChildParentComponent } from './countdown-parent.component';
|
|
|
|
import { MissionControlComponent } from './missioncontrol.component';
|
2016-02-02 14:39:34 +01:00
|
|
|
|
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 { }
|