update how view's set titles, closes #337

This commit is contained in:
Adam Bradley
2014-01-12 22:39:10 -06:00
parent 8982a8ad40
commit 3124ef3981
8 changed files with 38 additions and 32 deletions

View File

@@ -357,11 +357,6 @@ angular.module('ionic.service.view', ['ui.router'])
}
opts.parentElement.append(opts.enteringElement);
}
$rootScope.$broadcast('viewState.viewEnter', {
title: (opts.enteringScope ? opts.enteringScope.title : null),
navDirection: (opts.navDirection ? opts.navDirection : null)
});
function getAnimationClass(){
// go up the ancestors looking for an animation value