Mainly copyedits and prep for extension + example code cleanup & bug fix + fix bug in default color initialization
13 lines
246 B
Dart
13 lines
246 B
Dart
// #docregion
|
|
import 'package:angular2/core.dart';
|
|
|
|
import 'highlight_directive.dart';
|
|
|
|
@Component(
|
|
selector: 'my-app',
|
|
templateUrl: 'app_component.html',
|
|
directives: const [HighlightDirective])
|
|
class AppComponent {
|
|
String color;
|
|
}
|