Ionic Load Data from SQLite before Rendering

Hello,
I. m a bloddy beginner in javascript and the whole web stuff, but thanks to @AaronSterling I learned today, if you are waiting for two ore more independed promises, it is maybe a good idea using
promise.all([apromise, anotherpromise]) .then
That waits for all promises in that array, before it execute then
Look here How to return the result of this function

Best regards, anna-liebt

Ps should go to @mhtchong