I’m using a seperate state and inline script to handle entering search criteria and subsequent results. All good so far.
The problem is that when I view the detail of one search results item and then hit back button - the results are lost completely and I have to re-enter search criteria and execute.
I realise this might be a ui-router topic but if anyone can help them that’d be great. I’m using bind-once currently but used pure ng before and even if I loaded the list manually with .html () whether it would make any difference.
Tom
You can use the $rootScope to store the data (not recommended) or use a factory method to store that info, also you can use the value method of a module (easier).