title: how to query array population mongoose
body: <p>./models/info-hotspot.js</p>
  
  <pre><code>var mongoose = require('mongoose');
  var Schema = mongoose.Schema;
  
  var Scene = require('../models/scene');
  
  var schemaInfoHotspot = new Schema({
    scene: { type: Schema.Types.ObjectId, ref: 'Scene', required: true },
    title: { type: String, require: false }
  });
  
  module.exports = mongoose.model('InfoHotspot', schemaInfoHotspot); 
  </code></pre>
  
  <p>./models/scene.js</p>
  
  <pre><code>var mongoose = require('mongoose');
  var Schema = mongoose.Schema;
  
  var InfoHotspot = require('../models/info-hotspot');
  
  var schemaScene = new Schema({
      name: { type: String, required: true },
      infoHotspots: [
          {
              type: Schema.Types.ObjectId, ref: 'InfoHotspot',
              required: false
          }
      ]
  });
  
  module.exports = mongoose.model('Scene', schemaScene);
  </code></pre>
  
  <p>Query</p>
  
  <pre><code>  Scene
    .find()
    //.populate('infoHotspots')
    //.populate({
      //path: 'infoHotspots',
      //model: 'InfoHotspot'
    //})
    .exec(function(err, doc){
      if(err) return console.log(err);
      else  console.log(doc);
    });
  </code></pre>
  
  <p>All of its return infoHotspots: [ [Object], [Object]]
  (Just work without array)</p>
  
  <p>What's the reason?
  How to solve this problem?</p>
  
  <p>I want this result:</p>
  
  <pre><code> Scenes = {
                "name": "scene-1",
                "infoHotspots": [
                  {
                    "title": "my title1"
                  },
                  {
                    "title": "my title2"
                  },
                  {
                    "title": "my title3"
                  }
                ]
           }
  </code></pre>
  
  <p>Thanks for helping!</p>