How to share data between tabs

i have multiple tabs and i want to share data between these tabs.Please help me

You have many options to share data using

  1. $rootScope
  2. using factory
  3. Factory Update Function
  4. factory and $watch function
  5. Sessionstorage and localstorage

See these two article -

i recommend you to use events
avoid $rootScope and it depends on your requirments if you should use sessionStorage/localStorage or not