In the main index.html, you can specify your panel with data-defer
attribute like this:
<div class="panel" id="panel2" data-defer="panel2.html"></div>
This will load contents of panel2.html
within the panel2
More info here: http://app-framework-software.intel.com/documentation.php#afui/afui_panels