I am trying to do something like this
<div id="{{item.id}}" ng-repeat="item in itemList">
{{item.innerHTML}}
</div>
item.innerHTML contains the html that needs to go there, but since it is part of the dom, it is replaced as a string. Is there a way to just have it replace the innerHTML?
Thanks!
See Question&Answers more detail:
os 与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…