<div (mouseover)="changeText=true" (mouseout)="changeText=false">
<span *ngIf="changeText">Show</span>
<span *ngIf="!changeText">Hide</span>