title: Define requirejs module including all files in folder
body: <p>I use the <code>text</code> plugin of <code>require.js</code> to include some html templates as follows:</p>
  
  <pre><code>define([
      'text!/assets/templates/home/myApp.templates.home.home-pane.html',
      'text!/assets/templates/nav/myApp.templates.nav.top-navbar.html',
      'text!/assets/templates/shared/myApp.templates.shared.layout.html',
      ...
  ], function (HomeTmpl, TopNavbarTmpl, SharedLayoutTmpl, RegisterVerticalTmpl, LoginVerticalTmpl, ThingListItemTmpl, ThingSearchTmpl, TestTestTmpl) {
  
      var allHtml = function () {
          return HomeTmpl + TopNavbarTmpl + SharedLayoutTmpl + RegisterVerticalTmpl + LoginVerticalTmpl + ThingListItemTmpl + ThingSearchTmpl + TestTestTmpl;
      }
  
      return {
          All: allHtml,
          HomeTmpl: HomeTmpl,
          TopNavbarTmpl: TopNavbarTmpl,
          ...
      }
  });
  </code></pre>
  
  <p>I really have no need to retain references to each template (even though I am doing so right now); I really just need to dump all of the templates into my <code>head</code>.</p>
  
  <p>This way of doing things is cumbersome because it requires me, no pun intended, to add a reference for every new template html file.</p>
  
  <p>What I would like to do is something like this:</p>
  
  <pre><code>define(['text!/assets/templates/*'], function(Templates) { return Templates; });
  </code></pre>
  
  <p>Is it possible to do this? And if so, what is the syntax for including and stringing all the included files together as one big reference?</p>