title: RequireJS text plugin and variable concatenated string
body: <p>I'm using RequireJS text plugin to load some html templates.
  When I passing a string literal to the require function it works fine. </p>
  
  <pre><code>var templateHTML = require('text!templates/template_name.html');
  </code></pre>
  
  <p>But when I using variable concatenated string</p>
  
  <pre><code>var templateName = 'template_name';
  var templateHTML = require('text!templates/'+templateName+'.html');
  </code></pre>
  
  <p>It throws following error:</p>
  
  <pre><code>Uncaught Error: Module name "text!templates/template_name.html" has not been loaded yet for context: _
  </code></pre>
  
  <p>Any ideas for this problem?</p>
  
  <p>UPDATE: Here's my test code.</p>
  
  <pre><code>require.config({
      paths: {
         text: '../lib/text',
      }
  });
  
  define(function (require, exports, module) {
     "use strict";
      require(['text'], function (text) {
  
         //var templateHTML = require('text!templates/template_name.html');
  
         var templateName = 'template_name';
         var templateHTML = require('text!templates/'+templateName+'.html');
  
  
      });
  });
  </code></pre>
  
  <p>RequireJS text version: 2.0.3<br>
  RequireJS version: 2.1.1</p>