From 465ea76969b348b3074747dcd4cebf0861a38e6d Mon Sep 17 00:00:00 2001 From: Andy Joslin Date: Thu, 20 Feb 2014 17:13:31 -0500 Subject: [PATCH] fix(navBar): animations, hide back button, no flicker Closes #653 --- .../angular/src/directive/ionicViewState.js | 94 ++++++++++++++----- .../angular/test/directive/ionicView.unit.js | 12 +-- 2 files changed, 79 insertions(+), 27 deletions(-) diff --git a/js/ext/angular/src/directive/ionicViewState.js b/js/ext/angular/src/directive/ionicViewState.js index 10c36a28278..cbaaba6b447 100644 --- a/js/ext/angular/src/directive/ionicViewState.js +++ b/js/ext/angular/src/directive/ionicViewState.js @@ -23,7 +23,7 @@ angular.module('ionic.ui.viewState', ['ionic.service.view', 'ionic.service.gestu * Our Nav Bar directive which updates as the controller state changes. */ .directive('ionNavBar', ['$ionicViewService', '$rootScope', '$animate', '$compile', - function( $ionicViewService, $rootScope, $animate, $compile) { + function( $ionicViewService, $rootScope, $animate, $compile) { return { restrict: 'E', @@ -38,10 +38,10 @@ angular.module('ionic.ui.viewState', ['ionic.service.view', 'ionic.service.gestu }, controller: function() {}, template: - '