Pop Page not working?



  • Hello, I am new to onsenui and just found out about this yesterday. So far, I’m loving it!

    Sorry, if this is a stupid question, but I can’t seem to find examples to get the popPage working? I would think it should work the same as pushPage, which I got it to work. PopPage gives me an error:

    error: Option must be an object.

    Here’s my code below:

    $rootScope.myNavigator.popPage(‘template/home.html’,‘lift’);



  • Nevermind. I got it to work. Below is the correct way of calling this method.

    $rootScope.myNavigator.popPage({animation:‘lift’});


Log in to reply