2

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.

Anubhav
  • 7,138
  • 5
  • 21
  • 33

1 Answers1

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