2

I have an angular page with header, sidebar and a view with different routes (Parent page). There is a requirement to open multiple tabs with the same header and sidebar but different view (Child page). Also, the changes in the child view (second tab) need to be propagated to the parent tab. window.open opens a new tab but the current view is also getting updated. Is there any way this could be achieved ?

2 Answers 2

1

Yes . Use loca storage with the angular ngStorage module.

http://blog.guya.net/2015/06/12/sharing-sessionstorage-between-tabs-for-secure-multi-tab-authentication/

Sign up to request clarification or add additional context in comments.

Comments

1

I authored a small module to accomplish this for session storage:

https://github.com/yaacovCR/angular-stored-object

inspired by ngStorage and http://blog.guya.net/2015/06/12/sharing-sessionstorage-between-tabs-for-secure-multi-tab-authentication/

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.