connect drupalgap app to drupal site
Install the DrupalGap SDK on localhost, e.g. /var/www/drupalgap
Open its app/settings.js file, and point its site_path to www.mysite.com
Launch Google Chrome w/ security disabled and open http://localhost/drupalgap/index.html (if you're in web app mode, or use Ripple if you're in phonegap mode).


More information available here: http://drupalgap.org/node/223