Use CouchDB-joins to manage foreign documents

Hi, I use couchDB for local storage,

in first step, I used foreign_key to join my documents (my databases), example:
“Customer”:{ “_id”:"…",
…,“c_fk_address_id” :11}

But with this solution, I have encountered problems in call Promise into *ngFor loop ( get address of each Customer in list)

So, the second solution, is to use:
“Customer”:{ “_id”:"…",
…,“c_address” :{"_id":11,…} // all object

But, I have to change them manually (on update or delete)

1- are CouchDB-joins a solution of my problem?
2- if yes, how can I add $doctype in my models (interface)?