angular2 routing - How to modify app.component.ts property from child component in angular 2/4 -


i have created different modules login , signup. go login page main page navigation link using < router-outlet>. menu in landing page below - menu-- login, signup, continue without login.

when user clicks on login link, login page displayed. on success login want change above menu i.e should menu -- users, orders etc. how achieve in angular 2/4.

note - have created different components , modules login , signup , these modules(login.module.ts , signup.module.ts) included in app.module.ts.


Comments

Popular posts from this blog

c++ - CPP, 'X' button listener -

shared memory - gstreamer shmsrc and shmsink with h264 data -

.net - Bulk insert via Dapper is slower than inserting rows one-by-one -