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

<a [routerLink]="item.link" routerLinkActive="active" (click)="showChildren=!showChildren; select(item)"
[ngClass]="{'active-mob':item.link==currentURL}"><span>{{item.name}}</span></a>

<pages-menu *ngIf="children?.length" [items]="children"  
(onSelected)="select($event)" [ngClass]="{'hide-children':!showChildren}"></pages-menu>
