PouchDB AngularJS adapter to monitor and manage replication status and 3-way data binding