summaryrefslogtreecommitdiff
path: root/www/js/controllers.js
diff options
context:
space:
mode:
Diffstat (limited to 'www/js/controllers.js')
-rw-r--r--www/js/controllers.js16
1 files changed, 8 insertions, 8 deletions
diff --git a/www/js/controllers.js b/www/js/controllers.js
index 0f4d3976..d7f5d6df 100644
--- a/www/js/controllers.js
+++ b/www/js/controllers.js
@@ -6,24 +6,24 @@
angular.module('zmApp.controllers', ['ionic', 'ionic.utils', 'ngCordova', 'ng-mfb', 'angularCircularNavigation', 'jett.ionic.content.banner', 'ionic-pullup'])
-.controller('zmApp.BaseController', function ($scope, $ionicSideMenuDelegate, $ionicPlatform, $timeout, $rootScope) {
+ .controller('zmApp.BaseController', function ($scope, $ionicSideMenuDelegate, $ionicPlatform, $timeout, $rootScope) {
$scope.openMenu = function () {
- $ionicSideMenuDelegate.toggleLeft();
+ $ionicSideMenuDelegate.toggleLeft();
};
$ionicPlatform.registerBackButtonAction(function (event) {
- $ionicSideMenuDelegate.toggleLeft();
- $timeout(function () {
- $rootScope.stateofSlide = $ionicSideMenuDelegate.isOpen() + new Date();
- }, 500);
+ $ionicSideMenuDelegate.toggleLeft();
+ $timeout(function () {
+ $rootScope.stateofSlide = $ionicSideMenuDelegate.isOpen() + new Date();
+ }, 500);
}, 100);
// Added for electron build to stop title propagation
$scope.$on('$ionicView.afterEnter', function (ev, data) {
- ev.stopPropagation();
+ ev.stopPropagation();
});
-}); \ No newline at end of file
+ });