AngularJS: ¿Cómo resolver "Intentar utilizar un valor inseguro en un contexto seguro"?
Cuando intenté mostrar mis datos como text-html, se mostró en formato HTML, pero cuando actualicé la página, recibo este error:
[$ sce: inseguro] Intentando usar un valor inseguro en un contexto seguro.
Aquí está miAngularJS código:
data.attributes.task_name = $sce.trustAsHtml(data.attributes.task_name);
HTML
<span ng-bind-html="taskdata.attributes.task_name" data-html="true" title="{{reminder.attributes.message}}"></span>