fix(hideNavBar): send data in $ionicView.beforeEnter

This commit is contained in:
Adam Bradley
2014-11-13 09:00:07 -06:00
parent 6a09929949
commit 1395513aa4
4 changed files with 55 additions and 3 deletions

View File

@@ -71,6 +71,7 @@ function($scope, $element, $attrs, $compile, $ionicHistory, $ionicViewSwitcher)
showBack: transData.showBack && !$attrs.hideBackButton,
buttons: buttons,
navBarDelegate: navBarDelegateHandle || null,
showNavBar: !($attrs.hideNavBar === "true" || $attrs.hideNavBar === ""),
hasHeaderBar: !!hasViewHeaderBar
});
}