Phonegap-ionic pets example