| 
									
										
										
										
											2016-03-16 18:01:33 +02:00
										 |  |  | // #docplaster
 | 
					
						
							|  |  |  | // #docregion appimport
 | 
					
						
							|  |  |  | (function(app) { | 
					
						
							|  |  |  |   // #enddocregion appimport
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   // #docregion ng2import
 | 
					
						
							|  |  |  |   var provide = | 
					
						
							|  |  |  |     ng.core.provide; | 
					
						
							|  |  |  |   var bootstrap = | 
					
						
							| 
									
										
										
										
											2016-04-27 11:28:22 -07:00
										 |  |  |     ng.platformBrowserDynamic.bootstrap; | 
					
						
							| 
									
										
										
										
											2016-03-16 18:01:33 +02:00
										 |  |  |   var LocationStrategy = | 
					
						
							| 
									
										
										
										
											2016-04-27 11:28:22 -07:00
										 |  |  |     ng.common.LocationStrategy; | 
					
						
							| 
									
										
										
										
											2016-03-16 18:01:33 +02:00
										 |  |  |   var HashLocationStrategy = | 
					
						
							| 
									
										
										
										
											2016-04-27 11:28:22 -07:00
										 |  |  |     ng.common.HashLocationStrategy; | 
					
						
							| 
									
										
										
										
											2016-03-16 18:01:33 +02:00
										 |  |  |   // #enddocregion ng2import
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   // #docregion appimport
 | 
					
						
							|  |  |  |   var HeroComponent = app.HeroComponent; | 
					
						
							|  |  |  |   // #enddocregion appimport
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   document.addEventListener('DOMContentLoaded', function() { | 
					
						
							|  |  |  |     bootstrap(HeroComponent); | 
					
						
							|  |  |  |     bootstrap(app.HeroComponentDsl); | 
					
						
							|  |  |  |     bootstrap(app.HeroLifecycleComponent); | 
					
						
							|  |  |  |     bootstrap(app.HeroDIComponent, [app.DataService]); | 
					
						
							|  |  |  |     bootstrap(app.HeroDIInlineComponent, [app.DataService]); | 
					
						
							|  |  |  |     bootstrap(app.HeroDIInjectComponent, [ | 
					
						
							|  |  |  |       ng.core.provide('heroName', {useValue: 'Windstorm'}) | 
					
						
							|  |  |  |     ]); | 
					
						
							|  |  |  |     bootstrap(app.HeroDIInjectComponent2, [ | 
					
						
							|  |  |  |       ng.core.provide('heroName', {useValue: 'Bombasto'}) | 
					
						
							|  |  |  |     ]); | 
					
						
							|  |  |  |     bootstrap(app.HeroDIInjectAdditionalComponent); | 
					
						
							|  |  |  |     bootstrap(app.HeroIOComponent); | 
					
						
							|  |  |  |     bootstrap(app.HeroesHostBindingsComponent); | 
					
						
							|  |  |  |     bootstrap(app.HeroesQueriesComponent); | 
					
						
							|  |  |  |   }); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   // #docregion appimport
 | 
					
						
							|  |  |  | })(window.app = window.app || {}); | 
					
						
							|  |  |  | // #enddocregion appimport
 |