hoop dat dit helpt.
models.User.findOne(query)
.populate([{
path: 'elements',
populate: {
path: 'components',
model: 'Component'
}
},{
path:'resources'
}])
.exec(...)