fix(ionPrefix): disableRegisterByTagName updated w/ ion- prefix for correct view history

This commit is contained in:
Adam Bradley
2014-02-21 10:56:24 -06:00
parent 8847b0759e
commit 2494b5f988
2 changed files with 2 additions and 2 deletions

View File

@@ -17,7 +17,7 @@ angular.module('ionic.ui.sideMenu', ['ionic.service.gesture', 'ionic.service.vie
.run(['$ionicViewService', function($ionicViewService) {
// set that the side-menus directive should not animate when transitioning to it
$ionicViewService.disableRegisterByTagName('side-menus');
$ionicViewService.disableRegisterByTagName('ion-side-menus');
}])
.directive('ionSideMenus', function() {

View File

@@ -10,7 +10,7 @@ angular.module('ionic.ui.tabs', ['ionic.service.view', 'ngSanitize'])
.run(['$ionicViewService', function($ionicViewService) {
// set that the tabs directive should not animate when transitioning
// to it. Instead, the children <ion-tab> directives would animate
$ionicViewService.disableRegisterByTagName('tabs');
$ionicViewService.disableRegisterByTagName('ion-tabs');
}])
.controller('$ionicTabs', ['$scope', '$ionicViewService', function($scope, $ionicViewService) {