For example, page C has a Go Back button,
Page A -> Page C With data, click it, back to page A With data. Page B -> Page C With data, click it, back to page B With data.
For example, page C has a Go Back button,
Page A -> Page C With data, click it, back to page A With data. Page B -> Page C With data, click it, back to page B With data.
Assuming the data changes between pages you could either store in a database an create a service to access this data.
OR
Use localstorage to store the data temporarily in the users browser and get the item on a different page
localStorage.setItem('data', {name: "576prakash "})
localStorage.getItem('data');