Join the Stack Overflow Community
Stack Overflow is a community of 6.4 million programmers, just like you, helping each other.
Join them; it only takes a minute:
Sign up

As you can see in this Plunker I've added 3 more states to an Ionic side-menu starter template. Clicking on the menu item calendar, the abstract state, app.calendar, is called by his children state app.calendar.a, the abstract state has a resolve: configuration object that fetch data based on a default parameter, if nothing is provided,(I tried to add params:{year:{value:'2015'}} but I get Error: Invalid params in state 'app.calendar'). So in this case I'm unable to give a default value useful for the resolve function. Moreover when you click on the goto state B button, you reach the new state only after the second transition.

share|improve this question
1  
i would first start by turning off view caching because when I look at the console i dont see it getting updated as often as I believe it should be . – Aaron Saunders Jun 16 '15 at 2:40
    
@AaronSaunders Unfortunately I forked an old Ionic version it was the 1.0.0-beta.1. With the latest release I was able to add the default parameter to the abstract state and with the cached option activated everything is working as expected thx. – Cris69 Jun 16 '15 at 9:45

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Browse other questions tagged or ask your own question.