summaryrefslogtreecommitdiff
path: root/src/controller.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/controller.html')
-rw-r--r--src/controller.html18
1 files changed, 18 insertions, 0 deletions
diff --git a/src/controller.html b/src/controller.html
new file mode 100644
index 0000000..c6b76b9
--- /dev/null
+++ b/src/controller.html
@@ -0,0 +1,18 @@
+<html>
+<head>
+ <script type="application/javascript" src="jspm_packages/system.src.js"></script>
+ <script type="application/javascript" src="../org.eclipse.paho.mqtt.javascript/src/mqttws31.js"></script>
+ <script type="application/javascript" src="config.js"></script>
+ <script type="text/ecmascript">
+ Promise.all([
+ System.import('angular'),
+ System.import('BeerDukeController')])
+ .then(function (modules) {
+ modules[0].bootstrap(document, ['BeerDukeController']);
+ });
+ </script>
+</head>
+<body>
+<div ng-view></div>
+</body>
+</html>