I have a route abc/xyz?i=foo&j=bar&k=stuff
. I have added reloadOnSearch: false
. So the back button does not work. And that is what is intended
BUT
I do want to add a state to histor only when $location.search().k
changes.
Asked
Active
Viewed 63 times
2

Anubhav
- 7,138
- 5
- 21
- 33
-
Normally, you just need to refresh the model. The view is a live representation of the model – Michael Kang Dec 18 '15 at 08:46
1 Answers
2
$route.reload()
command is to reload the current view.
$location.path(give here new path)
to navigate to other views.

Parkash Kumar
- 4,710
- 3
- 23
- 39

Vicky
- 1,412
- 4
- 18
- 30
-
-
-
-
It works, http://plnkr.co/edit/Ba8APIE3cKInwMFbuJPB?p=preview checkout console here – Pankaj Parkar Dec 18 '15 at 09:08