title: loopback after save - data undefined?
body: <p>I am writing an '<em>after save</em>' hook and have some problem to read data.</p>
  
  <p>What I would like to do is to access data in another model, but when doing this it is <em>undefined</em>. </p>
  
  <p>Here is some code:</p>
  
  <pre><code>module.exports = function(Fault) {
    Fault.observe('after save', function(ctx, next) {
      ctx.Model.app.models.faulttype.find({where:{id:ctx.instance.faulttypeId}}, function(err, faulttype) {
        if (err)
          console.log(err);
        console.log(faulttype);
        console.log(faulttype.slogan);
    ....
  }
  </code></pre>
  
  <p>I am using the <code>ctx.Model.app.models</code> to grab one of the other models I have (<code>faulttype</code>). The problem is then later when I use it. </p>
  
  <p>In the first <code>console.log</code> it is writing all attributes and values for the <code>faulttype</code>, but when I try to use a specific attribute, as in the second <code>console.log</code> where I use<code>faulttype</code>. </p>
  
  <p>slogan I get the response that it is <code>undefined</code>. I don't understand why.</p>
  
  <p>Any ideas/comments?</p>