<div class="expand" [ngClass]="{toggle:children?.length, open:showChildren}" (click)="toggle()"></div>

<a [routerLink]="link" routerLinkActive="active" (click)="click()"
[ngClass]="cssClass"><span>{{item.name}}</span></a>

<pages-menu *ngIf="children?.length" [items]="children"  
(onSelected)="select($event)" [ngClass]="cssClass"></pages-menu>
