making eventdeviceready() in charge of when to call eventappinstall and wiring it up through the angularJS system along with eventnewpage()