Is it possible to render the output from a ternary operator as html?
{{ boolA ? 'Some text' : '<i class=\"fa fa-check\"></i>' }}
Also tried to modify a inline if/else directive from a previous question but can't get this to work either.
.filter('iif', ['$sce', function ($sce) {
return function (input, trueValue, falseValue) {
return $sce.trustAs('html', input ? trueValue : falseValue);
}
}])