| 
									
										
										
										
											2015-12-14 20:31:40 -08:00
										 |  |  | <!-- #docregion --> | 
					
						
							|  |  |  | <!DOCTYPE html> | 
					
						
							|  |  |  | <html> | 
					
						
							|  |  |  |   <head> | 
					
						
							| 
									
										
										
										
											2016-01-22 02:40:37 -08:00
										 |  |  |     <title>Angular 2 Hello World</title> | 
					
						
							| 
									
										
										
										
											2016-02-03 00:35:20 -08:00
										 |  |  |     <meta name="viewport" content="width=device-width, initial-scale=1"> | 
					
						
							| 
									
										
										
										
											2016-02-27 13:48:24 -08:00
										 |  |  |     <link rel="stylesheet" href="styles.css"> | 
					
						
							| 
									
										
										
										
											2015-12-14 20:31:40 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  |     <!-- 1. Load libraries --> | 
					
						
							| 
									
										
										
										
											2016-01-17 19:59:34 -08:00
										 |  |  |     <!-- IE required polyfills (from CDN), in this exact order --> | 
					
						
							| 
									
										
										
										
											2016-03-15 11:45:39 -07:00
										 |  |  |     <script src="https://cdnjs.cloudflare.com/ajax/libs/es6-shim/0.35.0/es6-shim.min.js"></script> | 
					
						
							| 
									
										
										
										
											2016-01-17 19:59:34 -08:00
										 |  |  |     <script src="https://cdnjs.cloudflare.com/ajax/libs/systemjs/0.19.16/system-polyfills.js"></script> | 
					
						
							| 
									
										
										
										
											2016-02-17 22:20:03 -08:00
										 |  |  |     <script src="https://npmcdn.com/angular2/es6/dev/src/testing/shims_for_IE.js"></script>    | 
					
						
							| 
									
										
										
										
											2016-01-17 19:59:34 -08:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2016-01-22 02:40:37 -08:00
										 |  |  |     <script src="https://code.angularjs.org/tools/system.js"></script> | 
					
						
							| 
									
										
										
										
											2015-12-14 20:31:40 -08:00
										 |  |  |     <script src="https://code.angularjs.org/tools/typescript.js"></script> | 
					
						
							| 
									
										
										
										
											2016-03-31 13:14:11 -07:00
										 |  |  |     <script src="https://code.angularjs.org/2.0.0-beta.13/angular2-polyfills.js"></script> | 
					
						
							|  |  |  |     <script src="https://code.angularjs.org/2.0.0-beta.13/Rx.js"></script> | 
					
						
							|  |  |  |     <script src="https://code.angularjs.org/2.0.0-beta.13/angular2.dev.js"></script> | 
					
						
							| 
									
										
										
										
											2015-12-14 20:31:40 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  |     <!-- 2. Configure SystemJS --> | 
					
						
							|  |  |  |     <script> | 
					
						
							|  |  |  |       System.config({ | 
					
						
							|  |  |  |         transpiler: 'typescript', | 
					
						
							|  |  |  |         typescriptOptions: { emitDecoratorMetadata: true }, | 
					
						
							| 
									
										
										
										
											2016-01-22 02:40:37 -08:00
										 |  |  |         packages: {'app': {defaultExtension: 'ts'}} | 
					
						
							| 
									
										
										
										
											2015-12-14 20:31:40 -08:00
										 |  |  |       }); | 
					
						
							| 
									
										
										
										
											2016-01-22 02:40:37 -08:00
										 |  |  |       System.import('app/main') | 
					
						
							|  |  |  |             .then(null, console.error.bind(console)); | 
					
						
							| 
									
										
										
										
											2015-12-14 20:31:40 -08:00
										 |  |  |     </script> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  |   </head> | 
					
						
							| 
									
										
										
										
											2016-01-22 02:40:37 -08:00
										 |  |  |    | 
					
						
							|  |  |  |   <!-- 3. Display the application --> | 
					
						
							| 
									
										
										
										
											2015-12-14 20:31:40 -08:00
										 |  |  |   <body> | 
					
						
							|  |  |  |     <hello-world>Loading...</hello-world> | 
					
						
							|  |  |  |   </body> | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | </html> |