title: Meteor : wait until all templates are rendered
body: <p>I have the following template code</p>
  
  <pre><code>&lt;template name="home"&gt;
      &lt;div class="mainBox"&gt;
          &lt;ul class="itemList"&gt;
              {{#each this}}
                  {{&gt; listItem}}
              {{/each}}
          &lt;/ul&gt;
      &lt;/div&gt;
  &lt;/template&gt;
  
  &lt;template name="listItem"&gt;
      &lt;li class="item"&gt;
          {{username}}
      &lt;/li&gt;
  &lt;/template&gt;
  </code></pre>
  
  <p>And I'd like to execute a code once ALL of the "listItem" are rendered. There are about 100 of them. I tried the following</p>
  
  <pre><code>Template.home.rendered = function() {
     // is this called once all of its 'subviews' are rendered?
  };
  </code></pre>
  
  <p>But it doesn't wait until all views are loaded.</p>
  
  <p>What's the best way of knowing when all sub-view templates are loaded?</p>