How to update value of side menu from the homepage

i created side menu in app.ts file. now i want update some value from the homepage…how i do that?

code that i used

create below function in app.ts file

static updateHeaderval()
{
this.firm = ResponseString.getFirm();
this.bal = ResponseString.getBal();
this.disc = ResponseString.getCommision();
this.outstanding =ResponseString.getOutstanding();
}

and i called this function in homepage but nothing change in side menu

I see you will study “redux” and use @ngrx/store.

regards.