I'm learning Angular and making a todo app. Creating a todo uses a wysiwyg editor (textAngular). It looks like this:
This works properly and gets saved as html to ng-model named todo.description
. But when displaying this todo, the html from the description is displayed as plain text. Like so:
The description is just bound to the model
<p class="text-muted">{{todo.description}}</p>
I think this can be done very simple but I didn't find a solution. I tried the xmp
tag, but that's not what I'm looking for.
How can I make the description display HTML and not text?