Start to add canView and showView

This commit is contained in:
Gunther Brunner
2014-02-19 23:21:29 +09:00
parent 7e9929d77f
commit 4a9fcc6987
3 changed files with 78 additions and 43 deletions

View File

@@ -1,8 +1,11 @@
h1 {{ device.serial }}
button(ng-click='showScreen = !showScreen') Show/Hide
div(ng-controller='DeviceScreenCtrl')
device-screen(style='width: 400px; height: 600px; background: gray')
button(ng-click='control.menu()') Menu
button(ng-click='control.home()') Home
button(ng-click='control.back()') Back
button(ng-click='control.back()') Back