The `ng- click` directive in `ng- html` does not take effect.

my problem is really annoying. I should not be able to insert it dynamically if I ask God to help me solve it. Use that append method ~
html:
< tr ng-repeat= "row in tableData" >

    <td ng-bind-html="getHtml(row) | to_trusted"> </td>
    ...

< / tr >
js:
app.filter ("to_trusted", [" $sce", function ($sce) {

return function (text) {
    return $sce.trustAsHtml(text);
};

}]);
the code displayed after the front end is completed
clipboard.png

if you write it like this, onclick can go in, but it won"t work with ng-click. Ask God to solve it.

Jan.20,2022

is the $sce after function (sce) and return inconsistent.

Menu