title: Backbone.Marionette Template Loading Asynchronously
body: <p>We are using Backbone and Backbone.Marionette for our project. We are currently storing all of the templates for our views on the server, and we've overwritten the loadTemplate call to load them asynchronously.</p>
  
  <p>However, when we use a layout view, since the template for the view is loaded asynchronously, it seems like we cannot access the layout's regions immediately. The following is an example:</p>
  
  <pre><code>var layoutView = new Layout();
  var itemView = new ItemView();
  
  App.containerRegion.show(layoutView);
  layoutView.mainRegion.show(itemView); &lt;---- This is where the issue would occur.
  </code></pre>
  
  <p>If we don't load template from the server asynchronously, then it would work fine. What would be a good way to implement this? We want to keep templates on the server, instead of loading everything at once. We also want to avoid binding to the render event of the layout view all over our code.</p>
  
  <p>Thanks</p>