Hello,
I have two pages each supported by respective controllers. Now, I want to pass 
variable from first controller to another as later utilizes it as get query 
parameter (not the path parameter). I tried services but when user right clicks 
and clicks "open link in a new tab", the second controller receives am empty 
var. Same happens when user reloads the page. I tried  local storage but the 
problem with that is when user tries to open multiple links, all point to the 
latest variable(true since local storage is being overwritten with latest vars 
as user clicks on links). Any idea on how to restrict services from reseting on 
page reload? 

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to