1 import 'package:angular2/core.dart';
2 import 'package:angular2/router.dart';
4 import 'package:angular2_rbi/directives.dart';
6 import 'product_component.dart';
7 import 'product_category_component.dart';
8 import 'product_detail_component.dart';
9 import 'product_service.dart';
10 import 'product_category_service.dart';
14 templateUrl: 'app_component.html',
15 //styleUrls: const ['app_component.css'],
22 ProductCategoryService,
29 path: '/product_categories',
30 name: 'ProductCategories',
31 component: ProductCategoryComponent,
35 path: '/products_of_category/:id',
37 component: ProductComponent
41 name: 'ProductDetail',
42 component: ProductDetailComponent
47 String title = 'Tavern 2';
49 @ViewChild(MaterialLayout)
50 MaterialLayout layout;