title: Angularjs - inline directives with ng-bind-html-unsafe
body: <p>My aim is to extract from a piece of text all the hashtags and replacing them with a directive this means that it should go from this:</p>
  
  <pre><code>&lt;p&gt;Hello #stackoverflow this is a #test&lt;p&gt;
  </code></pre>
  
  <p>into</p>
  
  <pre><code>&lt;p&gt;Hello &lt;hashtag="stackoverflow"&gt;&lt;/hashtag&gt; this is a #test&lt;p&gt;
  </code></pre>
  
  <p>My idea was to use a filter to replace the hashtag with the directive html, but I have no idea how to show it since, ng-bind-html-unsafe doesnt compile the directive apparently.</p>
  
  <p>Any hint?</p>