summaryrefslogtreecommitdiff
path: root/src/templates/controller.html
diff options
context:
space:
mode:
Diffstat (limited to 'src/templates/controller.html')
-rw-r--r--src/templates/controller.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/templates/controller.html b/src/templates/controller.html
new file mode 100644
index 0000000..c6cc4c8
--- /dev/null
+++ b/src/templates/controller.html
@@ -0,0 +1,9 @@
+<div ng-controller="MqttController as mqtt">
+ <div ng-controller="BeerDukeControllerController as ctrl">
+ <label>
+ Code from tap:
+ <input type="number" ng-model="ctrl.code">
+ </label>
+ <button ng-click="ctrl.requestBeer()">Request Beer!</button>
+ </div>
+</div>