- Renamed `angular2_getting_started` to `angular2_quickstart` (to match TS). - s/-/_/g in project names elsewhere (only toh-5 & -6 needed to be updated). Fixes #378.
		
			
				
	
	
		
			12 lines
		
	
	
		
			261 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			261 B
		
	
	
	
		
			Dart
		
	
	
	
	
	
// #docregion , import
 | 
						|
import 'package:angular2/core.dart';
 | 
						|
// #enddocregion import
 | 
						|
 | 
						|
// #docregion metadata
 | 
						|
@Component(
 | 
						|
    selector: 'my-app',
 | 
						|
    template: '<h1>My First Angular 2 App</h1>')
 | 
						|
// #enddocregion metadata
 | 
						|
// #docregion class
 | 
						|
class AppComponent {}
 |