summaryrefslogtreecommitdiff
path: root/www/js/MontageCtrl.js
diff options
context:
space:
mode:
authorARC <arjunrc@gmail.com>2015-04-28 17:11:32 -0400
committerARC <arjunrc@gmail.com>2015-04-28 17:11:32 -0400
commitddf1b45068b02851f0c157e6bbd0af58fa59fe6e (patch)
treee9209dee0fdb119d83d8c613d0297d9b5bd15bc6 /www/js/MontageCtrl.js
parent2b3011ff11cf2819d1418795f5f4b5a25a21bf3f (diff)
converted views to cache=false, I don't think there are significant performance hits. Also added triggers to see which views get unloaded/destroyed on exit - perf. tuning
Diffstat (limited to 'www/js/MontageCtrl.js')
-rw-r--r--www/js/MontageCtrl.js19
1 files changed, 19 insertions, 0 deletions
diff --git a/www/js/MontageCtrl.js b/www/js/MontageCtrl.js
index ed7acc3d..698c586b 100644
--- a/www/js/MontageCtrl.js
+++ b/www/js/MontageCtrl.js
@@ -7,6 +7,25 @@ angular.module('zmApp.controllers').controller('zmApp.MontageCtrl', function ($s
$ionicSideMenuDelegate.toggleLeft();
}
+
+ $scope.$on('$ionicView.loaded', function(){
+ console.log("**VIEW ** Montage Ctrl Loaded");
+ });
+
+ $scope.$on('$ionicView.enter', function(){
+ console.log("**VIEW ** Montage Ctrl Entered");
+ });
+
+ $scope.$on('$ionicView.leave', function(){
+ console.log("**VIEW ** Montage Ctrl Left");
+ });
+
+ $scope.$on('$ionicView.unloaded', function(){
+ console.log("**VIEW ** Montage Ctrl Unloaded");
+ });
+
+
+
$scope.getMontageImagePath = function ()
{
return ZMDataModel.getMontageImagePath();