X-Git-Url: https://www.hackdaworld.org/gitweb/?a=blobdiff_plain;f=lib%2Fapp_component.dart;h=814cfb9afeab966211194de69eb534d47ee36725;hb=HEAD;hp=1f96314c02499d4584e50e31c8b03e4447bfc660;hpb=8efc1c411ba4d97505c3836bd78bb5e68f521e2e;p=outofuni%2Ftavern2.git diff --git a/lib/app_component.dart b/lib/app_component.dart index 1f96314..814cfb9 100644 --- a/lib/app_component.dart +++ b/lib/app_component.dart @@ -6,9 +6,8 @@ import 'package:angular2_rbi/directives.dart'; import 'product_component.dart'; import 'product_category_component.dart'; import 'product_detail_component.dart'; -import 'product_category_detail_component.dart'; -import 'product_service.dart'; -import 'product_category_service.dart'; + +import 'tables_component.dart'; @Component( selector: 'my-app', @@ -19,8 +18,6 @@ import 'product_category_service.dart'; MaterialLayout ], providers: const [ - ProductService, - ProductCategoryService, ROUTER_PROVIDERS ] ) @@ -43,9 +40,9 @@ import 'product_category_service.dart'; component: ProductDetailComponent ), const Route( - path: '/product_category/:id', - name: 'ProductCategoryDetail', - component: ProductCategoryDetailComponent + path: '/tables', + name: 'Tables', + component: TablesComponent ) ])