This commit is contained in:
Adam Bradley
2014-01-09 09:49:37 -06:00
parent 9f952c3a50
commit cd65a8dc7b
13 changed files with 22 additions and 28 deletions

View File

@@ -327,9 +327,7 @@ angular.module('ionic.service.view', ['ui.router'])
// start the animations
if(opts.leavingElement) {
$animate.leave(opts.leavingElement, function() {
console.log('leave complete')
});
$animate.leave(opts.leavingElement);
}
$animate.enter(opts.enteringElement, opts.parentElement);