javascript - rich text with non editable content, angularjs -
i use directive textangular format email notification text , stuck while task when need add non editable html inside rich text. added custom directive on textangular directive. custom directive replace special characters in string html span tags param contenteditable='false' , param doesn't work , content still editable. in case have 2 questions: how can setup non-editable html inside content textangular directive? how can concat variable string desire place (currently concats end of string) i appreciate help. plunker problem my custom directive: app.directive('removemarkers', function () { return { require: "ngmodel", link: function (scope, element, attrs, ngmodel) { element.bind('click', function (e) { var target = e.target; var parent = target.parentelement; if (parent.classlist.contains('label-danger')){ parent.remove() ...