| 
									
										
										
										
											2015-12-10 09:40:54 -08:00
										 |  |  | /* First version */ | 
					
						
							|  |  |  | // #docplaster
 | 
					
						
							|  |  |  | // #docregion all
 | 
					
						
							| 
									
										
										
										
											2016-06-09 13:00:26 -05:00
										 |  |  | // main entry point
 | 
					
						
							| 
									
										
										
										
											2016-07-07 18:46:35 -07:00
										 |  |  | import { bootstrap }          from '@angular/platform-browser-dynamic'; | 
					
						
							|  |  |  | import { AppComponent }       from './app.component'; | 
					
						
							|  |  |  | import { appRouterProviders } from './app.routes'; | 
					
						
							| 
									
										
										
										
											2015-12-10 09:40:54 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-06-09 13:00:26 -05:00
										 |  |  | // #enddocregion
 | 
					
						
							| 
									
										
										
										
											2015-12-10 09:40:54 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  | /* Can't use AppComponent ... but display as if we can | 
					
						
							|  |  |  | // #docregion all
 | 
					
						
							| 
									
										
										
										
											2016-06-09 13:00:26 -05:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-12-10 09:40:54 -08:00
										 |  |  | bootstrap(AppComponent, [ | 
					
						
							|  |  |  | // #enddocregion all
 | 
					
						
							|  |  |  | */ | 
					
						
							|  |  |  | // Actually use the v.1 component
 | 
					
						
							| 
									
										
										
										
											2016-06-09 13:00:26 -05:00
										 |  |  | import { AppComponent as ac } from './app.component.ts'; // './app.component.1';
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-12-10 09:40:54 -08:00
										 |  |  | bootstrap(ac, [ | 
					
						
							|  |  |  | // #docregion all
 | 
					
						
							| 
									
										
										
										
											2016-07-07 18:46:35 -07:00
										 |  |  |   appRouterProviders | 
					
						
							| 
									
										
										
										
											2016-06-09 13:00:26 -05:00
										 |  |  | ]) | 
					
						
							|  |  |  | .catch(err => console.error(err)); | 
					
						
							| 
									
										
										
										
											2016-05-02 16:53:25 -07:00
										 |  |  | // #enddocregion all
 |