I have a html page in Ionic 2 where I am generating ion-slide using *ngFor and I want to pass the data from ngFor to the footer in the same page.
<ion-content>
<ion-slides>
<ion-slide *ngFor="let event of completeEvents">
{{event.message}}
</ion-slide>
</ion-slides>
</ion-content>
<ion-footer>
<div>
<p>{{event.message}}</p>
</div>
</ion-footer>
how do I pass the event.message to the footer ?