I'm developing an angularJS application and when I set a String value with "<br>"
tag, it is not rendering as HTML tag and it prints as "AA<br>BB"
on the page. So I change it to "<br>"
that is also not rendered and print as "AA<br>BB"
.
for(x=0; x < data.length ; x++ ){
csf = csf + '<br> '+data[x].csf;
}
$scope.targetValue = csf;
and I use this value in HTML as :
<div class="fz-display-table-cell fz-col-3 fz-main-result">
<small>CSF:{{targetValue}} </small>
</div>
what is the reason for not rendering this text and print the tag in page?