22 lines
550 B
Dart
22 lines
550 B
Dart
import 'package:angular2/angular2.dart';
|
|
|
|
import 'hero_async_message_component.dart';
|
|
import 'hero_birthday2_component.dart';
|
|
import 'hero_list_component.dart';
|
|
import 'power_booster.dart';
|
|
import 'power_boost_calculator.dart';
|
|
|
|
@Component(
|
|
selector: 'my-app',
|
|
templateUrl: 'app_component.html',
|
|
directives: const [
|
|
HeroAsyncMessageComponent,
|
|
HeroBirthday,
|
|
HeroListComponent,
|
|
PowerBooster,
|
|
PowerBoostCalculator
|
|
])
|
|
class AppComponent {
|
|
DateTime birthday = new DateTime(1988, 4, 15); // April 15, 1988
|
|
}
|