todo-ng-pouchdb
todo-ng-pouchdb copied to clipboard
Update ng-pouchdb-collection.js
Removed index was undefined (no longer exists after remove) and updateindex did not work properly. Solution: pass explicity the removed index to the updateIndex.