On Friday, 29 May 2015 19:28:07 UTC+1, Sander Elias wrote:
>
> Hi Paul,
>
> Setting $windows.location will cause a browser refresh, so unless you are 
> storing some state info into a persistent 
> storage(cookie/localStorage/indeDB/..), your app will get's completely 
> reinitialized.
> I think you need to use the $location service instead.
>
> Regards
> Sander
>
> Thanks for your reply I have tried $location unfortunately it won't work 
> with my setup,
>
But thanks for the advice I am still working on it but have decided to try 
a different method I will scrap the linked page and place it's content in a 
div with ng-view or show and hide from ng-click.

-- 
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