Two #each (one inside other)


#1

Hello i am have two #each’s and want inside child #each handle in data of parent each. How can i do this:

                         <div class="container">
              {{#each parentData}}
                   <div class="dock">
                     <ul class="dock four">
                     {{#each this.parentDataArray}}
                       <li class="stand">
                           <div class="image"></div>
                           <div class="messages">
                             <p class="count">{{"there i am want get data from first #each (from parentData objec)"}}</p>
                           </div>
                       </li>
                    {{/each}}
                      </ul>
                   </div> 
              {{/each}}
            </div>

#2
<div class="container">
  {{#each data1 in parentData}}
    <div class="dock">
      <ul class="dock four">
        {{#each data2 in data1}}
          <li class="stand">
            <div class="image"></div>
            <div class="messages">
              <p class="count">{{data2}}</p>
            </div>
          </li>
        {{/each}}
      </ul>
    </div>  
  {{/each}}
</div>