Update ng-pouchdb-collection.js
Update ng-pouchdb-collection.js

Removed index was undefined and updateindex did not work properly. Pass explicity the removed index to the update
m-alcu/todo-ng-pouchdb,m-alcu/todo-ng-pouchdb