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

qt - QML MouseArea onWheel event not working properly when inside QML Scrollview -

java - is not an enclosing class / new Intent Cannot Resolve Constructor -

python - Error importing VideoFileClip from moviepy : AttributeError: 'PermissionError' object has no attribute 'message' -