12 lines
252 B
Dart
12 lines
252 B
Dart
// #docregion , import
|
|
import 'package:angular2/core.dart';
|
|
// #enddocregion import
|
|
|
|
// #docregion metadata
|
|
@Component(
|
|
selector: 'my-app',
|
|
template: '<h1>Hello Angular</h1>')
|
|
// #enddocregion metadata
|
|
// #docregion class
|
|
class AppComponent {}
|