title: How to output html through AngularJS template?
body: <pre><code>&lt;h1&gt;{{ revision.title }}&lt;/h1&gt;
  
  &lt;div ng-bind-html="revision.content"&gt;&lt;/div&gt;
  </code></pre>
  
  <p>The title outputs fine, but the content - doesn't. It's got some html in it and I get the following error: <code>Attempting to use an unsafe value in a safe context.</code> which is being described as so: <a href="http://docs.angularjs.org/error/">http://docs.angularjs.org/error/</a>$sce:unsafe and that's fine, but then how can I output the content as there will be some html in it and so I must set it to <code>{{ revision.content | safe }}</code> or smthn. What is the correct way?</p>
  
  <p>EDIT:</p>
  
  <p>AngularJS version: 1.2</p>