| 
									
										
										
										
											2015-12-07 09:58:04 -07:00
										 |  |  | // #docregion
 | 
					
						
							| 
									
										
										
										
											2016-03-25 16:03:53 -07:00
										 |  |  | import 'package:angular2/core.dart'; | 
					
						
							| 
									
										
										
										
											2016-01-27 15:51:50 -08:00
										 |  |  | 
 | 
					
						
							|  |  |  | import 'highlight_directive.dart'; | 
					
						
							| 
									
										
										
										
											2015-12-07 09:58:04 -07:00
										 |  |  | 
 | 
					
						
							|  |  |  | @Component( | 
					
						
							|  |  |  |     selector: 'my-app', | 
					
						
							|  |  |  |     templateUrl: 'app_component.html', | 
					
						
							| 
									
										
										
										
											2016-05-06 07:42:01 -07:00
										 |  |  |     directives: const [HighlightDirective]) | 
					
						
							| 
									
										
										
										
											2015-12-07 09:58:04 -07:00
										 |  |  | class AppComponent { | 
					
						
							|  |  |  |   String color; | 
					
						
							|  |  |  | } |