New working structure after par programmering
[u/erikhf/frm.git] / src / index.html
... / ...
CommitLineData
1<!DOCTYPE html>
2<html lang="en">
3<head>
4 <meta charset="UTF-8">
5 <title>Sample App</title>
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>
13 <script src="../node_modules/systemjs/dist/system.src.js"></script>
14 <script src="../node_modules/angular2/bundles/angular2.dev.js"></script>
15 <script src="../node_modules/angular2/bundles/http.dev.js"></script>
16 <script src="../node_modules/angular2/bundles/router.dev.js"></script>
17
18
19
20 <script src="http://code.jquery.com/jquery-1.11.3.min.js"></script>
21 <script>
22 System.config({
23 packages: {'components': {defaultExtension: 'js'}}
24 });
25 System.import('components/app');
26 </script>
27</head>
28<body>
29 <mou-app>loading...</mou-app>
30</body>
31</html>