title: AngularJS displaying HTML Code character in variable
body: <p>I would like to put an HTML Code into a AngularJS variable and display it. In my example I am trying to displaying a checkmark character. <a href="https://www.toptal.com/designers/htmlarrows/symbols/check-mark/" rel="nofollow noreferrer">https://www.toptal.com/designers/htmlarrows/symbols/check-mark/</a></p>
  
  <p>The below code does work correctly:</p>
  
  <pre><code>&lt;label&gt;&amp;#10003;&lt;/label&gt;  
  </code></pre>
  
  <p>But this does not work, because the CheckMark variable is seeing it as an exact string:</p>
  
  <pre><code>&lt;label&gt;{{CheckMark}}&lt;/label&gt;  
  
  $scope.CheckMark = "&amp;#10003;";
  </code></pre>
  
  <p>I would still like to keep CheckMark a string variable (because sometimes it should just be normal text) but how can I make it display this checkmark correctly?</p>