realistically it's a single event, so only one promise needed
realistically it's a single event, so only one promise needed

another example of more correct promise use. a single promise is a single event
then use .then() to create a new promise with extracted info

gdamjan/ng-couch