simple phonegap app written in angular js