3 import 'package:angular2/core.dart';
4 import 'package:angular2/router.dart';
7 import 'table_service.dart';
9 import 'package:angular2_rbi/directives.dart';
12 selector: 'my-tables',
13 templateUrl: 'tables_component.html',
14 styleUrls: const ['tables_component.css'],
15 directives: const [MaterialTextfield,MaterialButton],
16 providers: const [TableService]
19 class TablesComponent implements OnInit {
22 final TableService _tableSrv;
25 TablesComponent(this._tableSrv,this._router);