X-Git-Url: https://hackdaworld.org/gitweb/?p=outofuni%2Ftavern2.git;a=blobdiff_plain;f=lib%2Fapp_component.dart;fp=lib%2Fapp_component.dart;h=814cfb9afeab966211194de69eb534d47ee36725;hp=2175bdfae18b17e987b6f138c53ee7aec62dc6bc;hb=74001e08303ce797811fc91816a67c2006fe0a25;hpb=b2028ca4879e48884436ee0c2aee7fae6ddaeb5a;ds=sidebyside diff --git a/lib/app_component.dart b/lib/app_component.dart index 2175bdf..814cfb9 100644 --- a/lib/app_component.dart +++ b/lib/app_component.dart @@ -6,8 +6,8 @@ import 'package:angular2_rbi/directives.dart'; import 'product_component.dart'; import 'product_category_component.dart'; import 'product_detail_component.dart'; -import 'product_service.dart'; -import 'product_category_service.dart'; + +import 'tables_component.dart'; @Component( selector: 'my-app', @@ -18,8 +18,6 @@ import 'product_category_service.dart'; MaterialLayout ], providers: const [ - ProductService, - ProductCategoryService, ROUTER_PROVIDERS ] ) @@ -40,6 +38,11 @@ import 'product_category_service.dart'; path: '/product/:id', name: 'ProductDetail', component: ProductDetailComponent + ), + const Route( + path: '/tables', + name: 'Tables', + component: TablesComponent ) ])