I have a small angular filter that insert an (bootstrap) icon in place of a true value. It works but the html is encoded:
var conApp = angular.module('conApp', []);
conApp.filter('trueIcon', function($filter){
return function(booleanValue){
return booleanValue ? '<i class="icon-ok"></i>' : '';
}
});
Do i have to implement another filter to decode the html ? Is there an "angular" way of doing this ?