Look into the reloadOnSearch option for your route definitions.

http://docs.angularjs.org/api/ngRoute.$routeProvider


On Fri, Feb 14, 2014 at 2:27 AM, Jake K. <[email protected]> wrote:

> Hello,
>
> I am using a 'slider' in my page and I want to allow the user to
> go to the previous 'slide' using the back button.
>
> To do this I use parameter with location, e.g.
> $location.search('p','myparameter'), but
> I notice that my whole view gets refreshed. This is not desirable since
> all the scope variables
> get reset.
>
> Thanks
>
>
>  --
> 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/groups/opt_out.
>



-- 
chrisrhoden

-- 
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/groups/opt_out.

Reply via email to