diff options
Diffstat (limited to 'www/js')
| -rw-r--r-- | www/js/HelpCtrl.js | 7 | ||||
| -rw-r--r-- | www/js/app.js | 12 |
2 files changed, 19 insertions, 0 deletions
diff --git a/www/js/HelpCtrl.js b/www/js/HelpCtrl.js new file mode 100644 index 00000000..37c98d39 --- /dev/null +++ b/www/js/HelpCtrl.js @@ -0,0 +1,7 @@ +angular.module('zmApp.controllers').controller('zmApp.HelpCtrl', function ($scope, $rootScope, $ionicModal, ZMDataModel,$ionicSideMenuDelegate) { +$scope.openMenu = function () { + $ionicSideMenuDelegate.toggleLeft(); + } +console.log ("***** HELP ****"); + +}) diff --git a/www/js/app.js b/www/js/app.js index 93c1871b..494ebdb9 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -151,6 +151,18 @@ angular.module('zmApp', [ }) + $stateProvider + .state('help', { + data: { + requireLogin: false + }, + url: "/help", + templateUrl: "templates/help.html", + controller: 'zmApp.HelpCtrl', + + + }) + .state('monitors', { data: { requireLogin: true |
