PouchDB sync plugin for AngularJS (work in progress)