My js object contains double quotes so I store data in the form:
var data = "un <a ui-sref="app.concept({id:1})">test link<\/a>"
which means <a ui-sref="app.concept({id:1})">test link<\/a>
how can I decode the html entities and then compile the ui-sref? Using this https://github.com/incuna/angular-bind-html-compile only doesn't work.
It prints <a ui-sref="app.concept({id:1})">test link<\/a>
in the view