title: How to access global data inside a inner template on Meteor Iron-router
body: <p>I´m using the Iron-router package and I´m having a problem to access global data in templates. I have a router.js wich defines:</p>
  
  <p>router.js</p>
  
  <pre><code>var addMyData = function() {
      this.data = {myProp: 'value'};
  }
  Router.before(addMyData);
  </code></pre>
  
  <p>It works fine. If I need to use that inside a "each" handlebar, I can access the data using:</p>
  
  <p>myTemplate.html</p>
  
  <pre><code>&lt;template name='myTemplate&gt;
       {{myProp}} //Works fine!
       {{#each something}}
          {{../myProp}} //Also works fine!
       {{/each}}
  &lt;/template&gt;
  </code></pre>
  
  <p>Great. But, when I need to use a inner template, all the data on the outter template just vanish. Example:</p>
  
  <p>myTemplate.html</p>
  
  <pre><code>&lt;template name='myTemplate&gt;
      {{myProp}} //Works fine!
       {{#each something}}
          {{&gt; myInnerTemplate}}
       {{/each}}
  &lt;/template&gt;
  
  &lt;template name='myInnerTemplate&gt;
      {{../myProp}} //Not works!
  &lt;/template&gt;
  </code></pre>
  
  <p>The weirdest thing is that all the data from the outerTemplate are vanished.</p>
  
  <p>Is that a bug, or there is another pratice to achieve the same goal?</p>
  
  <p>Thank you.</p>