JSFiddle - React, Tailwind, and code Playground
HTML
<div ng-app='app' ng-controller='ctrl'>
<ul ng-if="item.children.length && item.open" class="fadeIn">
<li ng-repeat="child in item.children" ng-show="child.visible"> <a ng-href="#/{{ child.link }}">
<span ng-bind-html="child.title"></span>
</a>
</li>
</ul>
</div>
JavaScript
angular.module('app', []).
controller('ctrl', function ($scope, $sce) {
$scope.item = {
open: true,
children:[{
visible: true,
link: 'MyFirst',
title: $sce.trustAsHtml('<h1>First</h1>')
}]
}
});