phonegap, angularjs and couchbase lite