title: Sails.js: how to populate array using model associations
body: <p>I'm using  "sails": "~0.10.0-rc5", "sails-mongo": "^0.10.0-rc3".
  I have 2 models: Invoice, Item.</p>
  
  <p><em>Invoice model</em></p>
  
  <pre><code>Invoice: {
      name: 'sample 1',
      items: [1,2] // 1,2 is id of Item model
  }
  </code></pre>
  
  <p><em>Item model</em></p>
  
  <pre><code>Item {
      id: 1,
      name: "king"
  }
  Item {
      id: 2,
      name: 'queen'
  }
  </code></pre>
  
  <p><strong>I want the result to be:</strong></p>
  
  <pre><code>Invoice: {
      name: 'sample 1',
      items: [{
          id: 1,
          name: "king"
      }, {
          id: 2,
          name: 'queen'
      }]
  }
  </code></pre>
  
  <p>I read <a href="https://github.com/balderdashy/sails-docs/blob/master/reference/ModelAssociations.md" rel="nofollow">model associations from the sails docs</a> but i don't know how to use it in my situation.</p>