ar COMPONENT_TEMPLATE = '<div>@if(hidden() == false) {    <nav class="main-menu">        <ul>            @for (item of menuItems; track $index) {                <li [attr.title]="item.tooltip()">                    <a [routerLink]="item.route()" routerLinkActive="active" [routerLinkActiveOptions]="item.exactMatch() ? { exact: true } : { exact: false }">                    {{ item.label() }}</a>                </li>            }        </ul>    </nav>}</div>'
    var COMPONENTS = [{'name': 'BadgeComponent', 