diff --git a/dist/js/ionic-angular.js b/dist/js/ionic-angular.js
index fe0c1dd761..90fa8f17b9 100644
--- a/dist/js/ionic-angular.js
+++ b/dist/js/ionic-angular.js
@@ -25430,11 +25430,11 @@ angular.module('ionic.ui.navRouter', [])
template: '',
link: function($scope, $element, $attr, navCtrl) {
@@ -25478,7 +25478,10 @@ angular.module('ionic.ui.navRouter', [])
var oldTitle = $scope.currentTitle;
$scope.oldTitle = oldTitle;
- $scope.currentTitle = data.title;
+
+ if(typeof data.title !== 'undefined') {
+ $scope.currentTitle = data.title;
+ }
if(typeof data.leftButtons !== 'undefined') {
$scope.leftButtons = data.leftButtons;
@@ -25490,7 +25493,7 @@ angular.module('ionic.ui.navRouter', [])
$scope.enableBackButton = data.hideBackButton !== true;
}
- if(data.animate !== false) {
+ if(data.animate !== false && typeof data.title !== 'undefined') {
animate($scope, $element, oldTitle, data, function() {
hb.align();
});
@@ -26041,7 +26044,7 @@ angular.module('ionic.ui.tabs', ['ngAnimate'])
rightButtons: $scope.rightButtons,
leftButtons: $scope.leftButtons,
hideBackButton: $scope.hideBackButton || false,
- animate: $scope.animate || false
+ animate: $scope.animate || true
});
}
//$scope.$emit('navRouter.titleChanged', $scope.title);
diff --git a/js/ext/angular/src/directive/ionicNavRouter.js b/js/ext/angular/src/directive/ionicNavRouter.js
index 0a7fce1c69..fdc0fd9b20 100644
--- a/js/ext/angular/src/directive/ionicNavRouter.js
+++ b/js/ext/angular/src/directive/ionicNavRouter.js
@@ -167,11 +167,11 @@ angular.module('ionic.ui.navRouter', [])
template: '',
link: function($scope, $element, $attr, navCtrl) {
@@ -215,7 +215,10 @@ angular.module('ionic.ui.navRouter', [])
var oldTitle = $scope.currentTitle;
$scope.oldTitle = oldTitle;
- $scope.currentTitle = data.title;
+
+ if(typeof data.title !== 'undefined') {
+ $scope.currentTitle = data.title;
+ }
if(typeof data.leftButtons !== 'undefined') {
$scope.leftButtons = data.leftButtons;
@@ -227,7 +230,7 @@ angular.module('ionic.ui.navRouter', [])
$scope.enableBackButton = data.hideBackButton !== true;
}
- if(data.animate !== false) {
+ if(data.animate !== false && typeof data.title !== 'undefined') {
animate($scope, $element, oldTitle, data, function() {
hb.align();
});
diff --git a/js/ext/angular/src/directive/ionicTabBar.js b/js/ext/angular/src/directive/ionicTabBar.js
index 5a3795cd34..8e783b5624 100644
--- a/js/ext/angular/src/directive/ionicTabBar.js
+++ b/js/ext/angular/src/directive/ionicTabBar.js
@@ -138,7 +138,7 @@ angular.module('ionic.ui.tabs', ['ngAnimate'])
rightButtons: $scope.rightButtons,
leftButtons: $scope.leftButtons,
hideBackButton: $scope.hideBackButton || false,
- animate: $scope.animate || false
+ animate: $scope.animate || true
});
}
//$scope.$emit('navRouter.titleChanged', $scope.title);
diff --git a/js/ext/angular/test/navAndTabs.html b/js/ext/angular/test/navAndTabs.html
index 0f3346fdce..ced699a4cd 100644
--- a/js/ext/angular/test/navAndTabs.html
+++ b/js/ext/angular/test/navAndTabs.html
@@ -17,7 +17,7 @@