]>
Commit | Line | Data |
---|---|---|
4bf38478 EHF |
1 | <!DOCTYPE html> |
2 | <html lang="en"> | |
3 | <head> | |
4 | <meta charset="UTF-8"> | |
5 | <title>Sample App</title> | |
36d9daeb EHF |
6 | <script> |
7 | var xhReq = new XMLHttpRequest(); | |
8 | xhReq.open("GET", "../manifest.webapp", false); | |
9 | xhReq.send(null); | |
10 | var serverResponse = JSON.parse(xhReq.responseText); | |
11 | var dhisAPI = serverResponse.activities.dhis.href; | |
12 | </script> | |
4bf38478 EHF |
13 | <script src="../node_modules/systemjs/dist/system.src.js"></script> |
14 | <script src="../node_modules/angular2/bundles/angular2.dev.js"></script> | |
36d9daeb | 15 | <script src="../node_modules/angular2/bundles/http.dev.js"></script> |
4fe031c1 | 16 | <script src="http://code.jquery.com/jquery-1.11.3.min.js"></script> |
4bf38478 EHF |
17 | <script> |
18 | System.config({ | |
322acf94 | 19 | packages: {'components': {defaultExtension: 'js'}} |
4bf38478 | 20 | }); |
322acf94 | 21 | System.import('components/app/app'); |
4bf38478 EHF |
22 | </script> |
23 | </head> | |
24 | <body> | |
25 | <hello-world>loading...</hello-world> | |
26 | </body> | |
27 | </html> |