Adding my own $resource implementation in CouchService for CouchDB documents
Using new CouchService implementation of $resource
Splitting out the db and vault views