design av nav, search og en liten dropdown meny
[u/erikhf/frm.git] / src / components / app.ts
index 7feefc3..f8bdea7 100644 (file)
@@ -1,21 +1,15 @@
 import {HTTP_PROVIDERS} from 'angular2/http';
 import {Component, View, bootstrap, provide, ELEMENT_PROBE_PROVIDERS} from 'angular2/angular2';
 import {Map} from './map/map';
-import {Search} from "./search/search";
-import {Filter} from "./filter/filter";
+import {Navbar} from "./navbar/navbar";
 
 declare var System:any;
 
-@Component(
-    {
-        selector: 'mou-app',
-        templateUrl: './components/app.html',
-        directives:[Filter, Map, Search]
-    })
+@Component({
+    selector: 'mou-app',
+    templateUrl: './components/app.html',
+    directives: [Map, Navbar]
+})
+class App {}
 
-
-class App {
-
-}
-
-bootstrap(App,[HTTP_PROVIDERS, ELEMENT_PROBE_PROVIDERS]);
+bootstrap(App, [HTTP_PROVIDERS, ELEMENT_PROBE_PROVIDERS]);