Phonegap AngularJS mobile app with Drupal as REST server