While reading the documentation of the bindonce directive, I wonder what is the difference between bo-htmland bo-text.
bo-html:
evaluates "markup" and render it as html inside the element
bo-text:
evaluates "text" and print it as text inside the element
So, I expected this code to work:
<span bo-html="<strong>SomeText</strong>"></span>
But I got this:
Error: [$parse:syntax] Syntax Error: Token '<' not a primary expression at column 1 of the expression
<strong> being a basic markup, isn't it?
If this can't work (maybe a syntax issue..), what is the real difference between bo-text and bo-html?