| 
									
										
										
										
											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)) { | 
					
						
							| 
									
										
										
										
											2016-06-08 01:06:25 +02:00
										 |  |  |   console.log('adding countdown timer examples'); | 
					
						
							| 
									
										
										
										
											2016-04-12 18:42:27 -07:00
										 |  |  |   directives.push(CountdownLocalVarParentComponent); | 
					
						
							|  |  |  |   directives.push(CountdownViewChildParentComponent); | 
					
						
							|  |  |  | } | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @Component({ | 
					
						
							| 
									
										
										
										
											2016-06-13 00:41:33 +02:00
										 |  |  |   selector: 'my-app', | 
					
						
							| 
									
										
										
										
											2016-04-12 18:42:27 -07:00
										 |  |  |   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 { } |