Also update dart_to_js_script_rewriter dependency to ^1.0.1, and change most angular2.dart imports to be core.dart instead. The pipes example broke without the angular2.dart import, so I let it be. The server-communication sample has never worked for me, so I changed it but might have broken it further. closes #1007
		
			
				
	
	
		
			24 lines
		
	
	
		
			551 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			24 lines
		
	
	
		
			551 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
// #docregion
 | 
						|
import 'package:angular2/core.dart';
 | 
						|
 | 
						|
import 'click_me_component.dart';
 | 
						|
import 'click_me_component_2.dart';
 | 
						|
import 'keyup_components.dart';
 | 
						|
import 'little_tour_component.dart';
 | 
						|
import 'loop_back_component.dart';
 | 
						|
 | 
						|
@Component(
 | 
						|
    selector: 'my-app',
 | 
						|
    templateUrl: 'app_component.html',
 | 
						|
    directives: const [
 | 
						|
      ClickMeComponent,
 | 
						|
      ClickMeComponent2,
 | 
						|
      KeyUpComponentV1,
 | 
						|
      KeyUpComponentV2,
 | 
						|
      KeyUpComponentV3,
 | 
						|
      KeyUpComponentV4,
 | 
						|
      LoopBackComponent,
 | 
						|
      LittleTourComponent
 | 
						|
    ])
 | 
						|
class AppComponent {}
 |