I am using ionic beta 12. When i switch from one page to another page i am getting empty(white) page with animation before rendering the data. And loader button is also not displaying on the page when it comes white screen. Here i am attaching an output. Could you please suggest me how to resolve this issue. And after rendering the data its working fine.
I’ve a feeling this maybe due to the fact I’m using SQLite to populate scope arrays and these aren’t being populated quick enough and the page is blank(white) until the data is populated.
Are you using promises in your states? I had this when I did and the page waited till the promise was over which caused the few seconds before anything apeared.
I’m not using promises in states, can I just make a SQLite function say promise1 and other promise dependant on that page then push then to promises array then $q.all() the promises array?
I was declaring the nav-bar in the nav-view and the views that are inside the nav-view.
Kind of a newbie error - but hey experience is everything. State transitions are now smooth, also by resolving the states once a function is promised helps alot…