Trying various things with angular and phonegap