From: Erik Haider Forsén Date: Thu, 12 Nov 2015 10:27:25 +0000 (+0100) Subject: Fixed placeholder for search (pair programming) X-Git-Url: http://git.uio.no/git/?a=commitdiff_plain;h=b74efa443aa2276f61bd1e4e9934e8b7154d2a92;p=u%2Ferikhf%2Ffrm.git Fixed placeholder for search (pair programming) --- diff --git a/src/components/app.ts b/src/components/app.ts index 71b4542..27ba52e 100644 --- a/src/components/app.ts +++ b/src/components/app.ts @@ -1,6 +1,7 @@ import {HTTP_PROVIDERS} from 'angular2/http'; import {Component, View, bootstrap, provide} from 'angular2/angular2'; import {Map} from './map/map'; +import {Search} from "./search/search"; declare var System:any; @@ -8,7 +9,7 @@ declare var System:any; { selector: 'mou-app', templateUrl: './components/app.html', - directives:[Map] + directives:[Map, Search] }) diff --git a/src/components/search/search.html b/src/components/search/search.html new file mode 100644 index 0000000..373e5cc --- /dev/null +++ b/src/components/search/search.html @@ -0,0 +1 @@ +
Søkefelt!
\ No newline at end of file diff --git a/src/components/search/search.ts b/src/components/search/search.ts new file mode 100644 index 0000000..f5a52cb --- /dev/null +++ b/src/components/search/search.ts @@ -0,0 +1,12 @@ +import {Component, CORE_DIRECTIVES} from 'angular2/angular2'; + +@Component({ + selector: 'mou-search', + directives: [CORE_DIRECTIVES], + templateUrl: './components/search/search.html' +}) + + +export class Search { + +}