summaryrefslogtreecommitdiff
path: root/www/js/controllers.js
diff options
context:
space:
mode:
authorARC <arjunrc@gmail.com>2015-04-25 09:13:54 -0400
committerARC <arjunrc@gmail.com>2015-04-25 09:13:54 -0400
commit86e4e291bfda3365c0bb82bacb2b9990a86ce759 (patch)
treec9729d4bd5366656e39761319546593c02f0f709 /www/js/controllers.js
First Commit
Diffstat (limited to 'www/js/controllers.js')
-rw-r--r--www/js/controllers.js8
1 files changed, 8 insertions, 0 deletions
diff --git a/www/js/controllers.js b/www/js/controllers.js
new file mode 100644
index 00000000..8e4c9e69
--- /dev/null
+++ b/www/js/controllers.js
@@ -0,0 +1,8 @@
+angular.module('zmApp.controllers', ['ionic', 'googlechart' ])
+
+.controller('zmApp.AppCtrl', function($scope, $ionicSideMenuDelegate) {
+ $scope.openMenu = function () {
+ $ionicSideMenuDelegate.toggleLeft();
+ }
+});
+//test \ No newline at end of file