From c2ec08ec9fdfa30e5da278780e1cfa1c6d067f25 Mon Sep 17 00:00:00 2001 From: PliablePixels Date: Fri, 7 Aug 2015 20:45:26 -0400 Subject: Fixed a bug in doLogin --> q.defer was returning success before it was successfull as it was out of doLogi --- www/js/DataModel.js | 3 +++ 1 file changed, 3 insertions(+) (limited to 'www/js/DataModel.js') diff --git a/www/js/DataModel.js b/www/js/DataModel.js index a79a6cd0..0d9d6ca8 100644 --- a/www/js/DataModel.js +++ b/www/js/DataModel.js @@ -285,6 +285,9 @@ angular.module('zmApp.controllers').service('ZMDataModel', ['$http', '$q', '$ion getMonitors: function (forceReload) { console.log("** Inside ZMData getMonitors with forceReload=" + forceReload); + + + $ionicLoading.show({ template: 'Loading Monitors...', animation: 'fade-in', -- cgit v1.2.3