| 
									
										
										
										
											2016-05-17 21:25:41 -07:00
										 |  |  | // #docplaster
 | 
					
						
							|  |  |  | // #docregion
 | 
					
						
							|  |  |  | import { Component }         from '@angular/core'; | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // #docregion import-rxjs
 | 
					
						
							|  |  |  | // Add the RxJS Observable operators we need in this app.
 | 
					
						
							|  |  |  | import './rxjs-operators'; | 
					
						
							|  |  |  | // #enddocregion import-rxjs
 | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | @Component({ | 
					
						
							|  |  |  |   selector: 'my-app', | 
					
						
							|  |  |  |   template: `
 | 
					
						
							|  |  |  |     <hero-list></hero-list> | 
					
						
							|  |  |  |     <hero-list-promise></hero-list-promise> | 
					
						
							|  |  |  |     <my-wiki></my-wiki> | 
					
						
							|  |  |  |     <my-wiki-smart></my-wiki-smart> | 
					
						
							| 
									
										
										
										
											2016-08-09 17:38:25 +01:00
										 |  |  |   `
 | 
					
						
							| 
									
										
										
										
											2016-05-17 21:25:41 -07:00
										 |  |  | }) | 
					
						
							|  |  |  | export class AppComponent { } | 
					
						
							|  |  |  | // #enddocregion
 |