<div 
[ngClass]="{textLeftPosition: (position == 'left'),
 textRightPosition: (position == 'right'), 
 textCenterPosition: (position == 'center')}">
    <div *ngFor="let node of data" 
    [ngClass]='animatedClass'
   >
    <a style="text-decoration: none;" href="#"
    (mouseover)="node.hover=true" 
    (mouseleave)="node.hover=false"
    (click)="onMenuClick(node)"
    [ngStyle]="{'font-family':font, 'font-size': size+'px', 'color': fontColor}"
    >{{node.label}}</a>
  </div>
</div>