Test PhoneGap app with AngularJS that receives push notification