title: Insert and parse HTML into view using AngularJS
body: <p>What I know is when I want to insert HTML into view, I use <code>'ng-bind-html'</code> or <code>'ng-bind-html-unsafe'</code>.</p>
  
  <p>What I don't know, is how to insert HTML and make Angular parse its content</p>
  
  <p>i.e. if there is <code>'ng-repeat'</code>, I want Angular to parse it?</p>
  
  <h2>Update 1:</h2>
  
  <p>example:</p>
  
  <p>HTML:</p>
  
  <pre><code>&lt;div ng-repeat="t in ts" ng-bind-html-unsafe="t.html()"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>JS:</p>
  
  <pre><code>function Controller($scope) {
      $scope.ts = {obj1: new obj(), obj2: new obj(), ob3: new obj()};
  
  }
  
  function obj() {
      // which may be "&lt;div ng-repeat="s in somthing"&gt;{{s}}&lt;/div&gt;"
      // or "&lt;ul&gt;&lt;li ng-repeat="s in somthing"&gt;{{s.k}}&lt;/li&gt;&lt;/ul&gt;"
      // or something else
      var _html;
  
      this.html = function() {
          return _html;
      }
  }
  </code></pre>
  
  <p>I tried using the above, but Angular just print <code>{{s}}</code> or <code>{{s.k}}</code> as it is.</p>