Home > Article > Web Front-end > Angular ng-repeat dynamically obtained DOM fragment display
.filter(<span style="color: #800000">'</span><span style="color: #800000">to_trusted</span><span style="color: #800000">'</span>, [<span style="color: #800000">'</span><span style="color: #800000">$sce</span><span style="color: #800000">'</span><span style="color: #000000">,function ($sce) { </span><span style="color: #0000ff">return</span><span style="color: #000000"> function (text) { </span><span style="color: #0000ff">return</span><span style="color: #000000"> $sce.trustAsHtml(text); } }])</span>
The above is the detailed content of Angular ng-repeat dynamically obtained DOM fragment display. For more information, please follow other related articles on the PHP Chinese website!