title: Render string templates via ng-include
body: <p>I am trying to render a piece of html, available on a dynamic route, the route is fetched via a <code>$http.get()</code> call, it returns a piece of html, </p>
  
  <p>Just to give an example I try to load this html partial:</p>
  
  <pre><code>&lt;h1&gt;{{ pagetitle }}&lt;/h1&gt;
  this is a simple page example
  </code></pre>
  
  <p>I made a small fiddle, to mock the problem, but for the simplicity i left the http call out, and just added the html in a string on the scope.</p>
  
  <p>The controller is:</p>
  
  <pre><code>function Ctrl($scope) {
      $scope.data = {
          view: "&lt;h1&gt;whaaaaa&lt;/h1&gt;"        
      }; 
  }
  </code></pre>
  
  <p>The page html is this:</p>
  
  <pre><code>&lt;div ng-app=""&gt;
    &lt;div ng-controller="Ctrl"&gt;
      &lt;div ng-include src="data.view"&gt;&lt;/div&gt;
    &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>The problem is that it does not add the string into the html file (ng-include), but it makes a http call to a url made of that string aparently.</p>
  
  <p>So Is it not possible to just enter a string into an include? if not, what is the proper way to make an http call to a dynamic url, and enter the returned url into the page.</p>
  
  <p>You can play with it in <a href="http://jsfiddle.net/yq7Ev/1/" rel="nofollow">JSFiddle</a>.</p>