I have a data-model that needs to be converted or show up as html. Right now it just shows up as text.
html
<div ng-repeat="item in ornamentFigures" class="ornament-item">
<label for="ornament-{{item.id}}">{{item.svg}}</label>
<input type="radio" id="ornament-{{item.id}}" name="ornament-radio" />
</div>
controller
$scope.ornamentFigures = ornamentFigures.ornamentFigures;
service
MyApp.service('ornamentFigures', function(){
this.ornamentFigures = [
{id:'03', name:'wit', svg:'<svg></svg>'},
{id:'03', name:'wit', svg:'<svg></svg>'},
{id:'03', name:'wit', svg:'<svg></svg>'},
];
return this;
});