title: Dust - how to get parent context in loop
body: <p>I am trying to retrieve values in a loop from the parent context. Dust is able to call my method, but my method is not able to reach my properties which I have defined in the class, due to the context is the current item.</p>
  
  <p>So for example:<br>
  <strong>JavaScript class</strong>  </p>
  
  <pre><code>MyNamespace.MyClass = function () {
     this.names= ["Me", "You", "StackOverflow"];
     this.isAwesome = true;
  };
  
  MyNamespace.MyClass.prototype.sayHello = function() {
     if(this.isAwesome) {
        return "Hello awesome ";
        // This code will never be reached due to 'this' is one of the items from the array
     }
     return "Hello "; 
  };
  </code></pre>
  
  <p><strong>My Dust</strong></p>
  
  <pre><code>{#names}{sayHello} {.}{~n}{/names}
  </code></pre>
  
  <p><strong>Problem</strong><br>
  The <code>sayHello</code> method will be called as expected <strong>but</strong> the context is the current item instead of the parent. So <code>this</code> is equals to the current item and of course <code>"Me".isAwesome</code> will always return false. As you would understand, I would like to be awesome. </p>
  
  <p><strong>Question</strong><br>
  How can I achieve that 3 awesome people are returned by dust.</p>