closes #1807 - e2e tests now also cover the tax calculator. - Dart app updated to match TS (it had no sales tax calculator). - TS sample source cleanup (e.g. removed many unnecessary `docregions`). - Prose updated to include @kwalrath's revisions from a while ago, Ward's comments, and some of my edits as well. Contributes to #1598 and #1508.
		
			
				
	
	
		
			16 lines
		
	
	
		
			378 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			16 lines
		
	
	
		
			378 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
| // #docregion import
 | |
| import 'package:angular2/core.dart';
 | |
| // #enddocregion import
 | |
| 
 | |
| import 'hero_list_component.dart';
 | |
| import 'sales_tax_component.dart';
 | |
| 
 | |
| @Component(
 | |
|     selector: 'my-app',
 | |
|     template: '''
 | |
|       <hero-list></hero-list>
 | |
|       <sales-tax></sales-tax>''',
 | |
|     directives: const [HeroListComponent, SalesTaxComponent])
 | |
| // #docregion export
 | |
| class AppComponent { }
 |