title: Angularjs: Multiples partials in single html?
body: <p>Is possible retrieve multiples html partials in one single html? I've the next situation:</p>
  
  <pre><code>Template: {header} {main} {footer}
  
  /index: header:"Welcome" main:"welcome text" footer:""
  
  /help: header:"Help title" main:"faq tips" footer"Back to home"
  </code></pre>
  
  <p>using <strong>ng-include</strong> I've to retreive 6 html from server. If I will retrive multiples partials in one html then I will retrieve 2 html from server only, one for /index and one for /help.</p>
  
  <ul>
  <li>This situation is a small example the real situation. </li>
  <li>The tag <strong>script</strong> with type <strong>ng-template</strong> don't work for me, because the script must be include before of <strong>ng-include</strong>. </li>
  </ul>
  
  <p>Thanks!</p>
  
  <p><strong>Update 04/07/12:</strong></p>
  
  <p>I seek to update more than one div at a time, with an unique html retreive. I don't like this:</p>
  
  <pre><code>function IndexCtrl($scope) {
      $scope.mainPage = 'partials/index/index.html';
      $scope.headerTemplate = 'partials/index/header.html';
      $scope.footerTemplate = 'partials/index/footer.html';
  }
  </code></pre>
  
  <p>After in the template use ng-includes for include these partials. I think that this is not the correct way. There is other way? </p>
  
  <p>Thanks!</p>