title: referencing a variable as directive template content
body: <p>Is it possible to set a string-variable as the content of a template?
  I'd like to select two different templates depending on the scope.
  Something like this:</p>
  
  <pre><code>define(['app'], function(app){
      app.directive('logstorelist', function(){
          var temp="";
          return{
              scope: true,
              restrict: 'A',
              link: function(s, e, a){
                  if(a=="a")
                      temp = "&lt;a&gt;tempA&lt;/a&gt;";
                  else
                      temp = "&lt;div&gt;temp&lt;/div&gt;";
              },
              replace: true,
              template: temp
          }
      })
  });
  </code></pre>
  
  <p>Is anything like this possible? </p>