diff --git a/js/ext/angular/test/tabs.html b/js/ext/angular/test/tabs.html index 4890082202..e44957852b 100644 --- a/js/ext/angular/test/tabs.html +++ b/js/ext/angular/test/tabs.html @@ -128,6 +128,10 @@ angular.module('tabsTest', ['ionic']) .controller('RootCtrl', function($scope, $timeout) { + + $scope.$on('tab.shown', function() { console.error('tab.shown Root this should not happen'); }); + $scope.$on('tab.hidden', function() { console.error('tab.hidden Root this should not happen'); }); + $scope.controllerChanged = function(event) { console.log('Controller changed', event); @@ -165,6 +169,9 @@ $scope.settingsModal = modal; }); + $scope.$on('tab.shown', function() { console.log('tab.shown Home'); }); + $scope.$on('tab.hidden', function() { console.log('tab.hidden Home'); }); + var removeItem = function(item, button) { $ionicActionSheet.show({ buttons: [],