resdy to merge
[u/erikhf/frm.git] / src / components / app / app.ts
1 import {bootstrap, Component, CORE_DIRECTIVES} from 'angular2/angular2';
2 import {map} from '../map/map';
3 @Component({
4     selector: 'hello-world',
5     directives: [CORE_DIRECTIVES],
6     template: `
7         <h1>Hello World</h1>
8         <p>This is just a sample template yeah!</p>
9         <p>{{getApiURI()}}</p>
10     `
11 })
12
13
14 class App {
15
16     getApiURI(){
17         return dhisAPI;
18     }
19
20 }
21
22 bootstrap(App);