I am having a menu whose html i have written in app.html-
<ion-menu [content]="mycontent">
<ion-toolbar class = "menuUserName">
<ion-title>{{userName}}</ion-title>
</ion-toolbar>
<ion-content>
<ion-list>
Item1
</ion-list>
</ion-content>
</ion-menu>
<ion-nav #mycontent [root]="rootPage"></ion-nav>
My app flow is login->homepage. when the user login the app,it will get username from a service. How can i pass this data to my ionic2 menu to update username.