title: How can I use outer loop index in inner loop
body: <p>This is first time I am playing with <code>HandleBars.js</code>.I have an array in the following way.</p>
  
  <pre><code>var arr=[[a,b,c],[d],[e,f],[g,h,i,j]];
  </code></pre>
  
  <p>I want to get in the following way.</p>
  
  <p>for first iteration time:</p>
  
  <pre><code>  biz0_a0;
    biz0_a1;
    biz0_a2;
  </code></pre>
  
  <p>second Iteration:</p>
  
  <pre><code>  biz1_a0;
  </code></pre>
  
  <p>third Iteration :</p>
  
  <pre><code> biz2_a0;
   biz2_a1;
  </code></pre>
  
  <p>fourth Iteration:</p>
  
  <pre><code>biz3_a0;
  biz3_a1;
  biz3_a2;
  biz3_a3;
  </code></pre>
  
  <p>so If you observe, I want to use outer loop,inner loop indexes inside inner loop. I can able to find inner loop using <code>{{@index}}</code> so wherever I want inner loop index I am using <code>{{@index}}</code>. in the same way I can't able to use outer loop index inside inner loop.I tried  like <code>{{../@index}}</code>.So I did in the following way.</p>
  
  <pre><code>biz{{../@index}}_a{{@index}}. 
  </code></pre>
  
  <p>it's not working.</p>
  
  <p>can anyone help me.</p>
  
  <p>Thanks</p>