2016-01-20 16:14:46 -05:00
|
|
|
// #docregion
|
|
|
|
import 'package:angular2/angular2.dart';
|
2016-01-27 18:51:50 -05:00
|
|
|
|
2016-01-20 16:14:46 -05:00
|
|
|
import 'after_content_parent.dart';
|
2016-01-27 18:51:50 -05:00
|
|
|
import 'after_view_component.dart';
|
2016-01-20 16:14:46 -05:00
|
|
|
import 'counter_component.dart';
|
2016-01-27 18:51:50 -05:00
|
|
|
import 'on_changes_component.dart';
|
|
|
|
import 'peek_a_boo_parent_component.dart';
|
|
|
|
import 'spy_component.dart';
|
2016-01-20 16:14:46 -05:00
|
|
|
|
|
|
|
@Component(
|
|
|
|
selector: 'my-app',
|
|
|
|
template: '''
|
|
|
|
<peek-a-boo-parent></peek-a-boo-parent>
|
|
|
|
<on-changes-parent></on-changes-parent>
|
|
|
|
<after-view-parent></after-view-parent>
|
|
|
|
<after-content-parent></after-content-parent>
|
|
|
|
<spy-parent></spy-parent>
|
|
|
|
<counter-parent></counter-parent>
|
|
|
|
''',
|
|
|
|
directives: const [
|
|
|
|
PeekABooParentComponent,
|
|
|
|
OnChangesParentComponent,
|
|
|
|
AfterViewParentComponent,
|
|
|
|
AfterContentParentComponent,
|
|
|
|
SpyParentComponent,
|
|
|
|
CounterParentComponent
|
|
|
|
])
|
|
|
|
class AppComponent {}
|