My database has this html string stored:
string myVar = "<p><custom-dir item='myItem' /> and some other random text </p>";
This is then used in text-angular block on the front end, which is editable, something like this:
<text-angular placeholder="Something" ng-model="myVar" />
Now I have a template for customDir which looks like this:
<span class="custom-class" contenteditable="false">{{myItem.text}}</span>
When displayed, however, the template for customDir is not used, which means the text-angular block has nothing where there should be {{myItem.text}}. How can I solve this issue?