| 
									
										
										
										
											2016-03-16 18:01:33 +02:00
										 |  |  | // #docregion ng2import
 | 
					
						
							|  |  |  | import {provide} | 
					
						
							| 
									
										
										
										
											2016-04-27 11:28:22 -07:00
										 |  |  |   from '@angular/core'; | 
					
						
							| 
									
										
										
										
											2016-03-16 18:01:33 +02:00
										 |  |  | import {bootstrap} | 
					
						
							| 
									
										
										
										
											2016-04-27 11:28:22 -07:00
										 |  |  |   from '@angular/platform-browser-dynamic'; | 
					
						
							| 
									
										
										
										
											2016-04-21 01:12:21 +01:00
										 |  |  | import { | 
					
						
							| 
									
										
										
										
											2016-04-27 11:28:22 -07:00
										 |  |  | } from '@angular/router'; | 
					
						
							| 
									
										
										
										
											2016-03-16 18:01:33 +02:00
										 |  |  | import { | 
					
						
							|  |  |  |   LocationStrategy, | 
					
						
							|  |  |  |   HashLocationStrategy | 
					
						
							| 
									
										
										
										
											2016-04-27 11:28:22 -07:00
										 |  |  | } from '@angular/common'; | 
					
						
							| 
									
										
										
										
											2016-03-16 18:01:33 +02:00
										 |  |  | // #enddocregion ng2import
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // #docregion appimport
 | 
					
						
							|  |  |  | import {HeroComponent} | 
					
						
							|  |  |  |   from './hero.component'; | 
					
						
							|  |  |  | // #enddocregion appimport
 | 
					
						
							|  |  |  | import {HeroComponent as HeroLifecycleComponent} from './hero-lifecycle.component'; | 
					
						
							|  |  |  | import {HeroComponent as HeroDIComponent} from './hero-di.component'; | 
					
						
							|  |  |  | import {HeroComponent as HeroDIInjectComponent} from './hero-di-inject.component'; | 
					
						
							|  |  |  | import {AppComponent as AppDIInjectAdditionalComponent} from './hero-di-inject-additional.component'; | 
					
						
							|  |  |  | import {AppComponent as AppIOComponent} from './hero-io.component'; | 
					
						
							|  |  |  | import {HeroesComponent as HeroesHostBindingsComponent} from './heroes-bindings.component'; | 
					
						
							|  |  |  | import {HeroesQueriesComponent} from './heroes-queries.component'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | import {DataService} from './data.service'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | bootstrap(HeroComponent); | 
					
						
							|  |  |  | bootstrap(HeroLifecycleComponent); | 
					
						
							|  |  |  | bootstrap(HeroDIComponent, [DataService]); | 
					
						
							|  |  |  | bootstrap(HeroDIInjectComponent, [ | 
					
						
							|  |  |  |   provide('heroName', {useValue: 'Windstorm'}) | 
					
						
							|  |  |  | ]); | 
					
						
							|  |  |  | bootstrap(AppDIInjectAdditionalComponent); | 
					
						
							|  |  |  | bootstrap(AppIOComponent); | 
					
						
							|  |  |  | bootstrap(HeroesHostBindingsComponent); | 
					
						
							|  |  |  | bootstrap(HeroesQueriesComponent); |