From 4af9e77693e07b35d937b6059fe48e6a4506ef6c Mon Sep 17 00:00:00 2001 From: ARC Date: Sun, 26 Apr 2015 16:53:18 -0400 Subject: added application icons and used ngCordova for splash control --- www/index.html | 1 + www/js/app.js | 6 +++++- www/js/controllers.js | 4 ++-- 3 files changed, 8 insertions(+), 3 deletions(-) (limited to 'www') diff --git a/www/index.html b/www/index.html index 30f5225e..a1036a84 100644 --- a/www/index.html +++ b/www/index.html @@ -20,6 +20,7 @@ + diff --git a/www/js/app.js b/www/js/app.js index e72dd33a..b89dcb78 100644 --- a/www/js/app.js +++ b/www/js/app.js @@ -5,7 +5,11 @@ angular.module('zmApp', [ ]) -.run(function ($ionicPlatform, $ionicPopup, $rootScope, $state, ZMDataModel) { +.run(function ($ionicPlatform, $ionicPopup, $rootScope, $state, ZMDataModel,$cordovaSplashscreen) { + + setTimeout(function() { + $cordovaSplashscreen.hide() + }, 5000) ZMDataModel.init(); var loginData = ZMDataModel.getLogin(); diff --git a/www/js/controllers.js b/www/js/controllers.js index 8e4c9e69..b590d436 100644 --- a/www/js/controllers.js +++ b/www/js/controllers.js @@ -1,8 +1,8 @@ -angular.module('zmApp.controllers', ['ionic', 'googlechart' ]) + +angular.module('zmApp.controllers', ['ionic', 'googlechart', 'ngCordova' ]) .controller('zmApp.AppCtrl', function($scope, $ionicSideMenuDelegate) { $scope.openMenu = function () { $ionicSideMenuDelegate.toggleLeft(); } }); -//test \ No newline at end of file -- cgit v1.2.3