I've got ngView with three ngIncluded views: search filters, products, pagination. I want to:
- filter products without reloading whole page just products view
- add filters to the url eg.
?category=shoes - be able to use back and next buttons
I set reloadOnSearch: false in $routeProvier.when. Now when I invoke $location.search() function url changes, but the page is not reloaded. That's what I wanted to achieve, but when I click back button the products does not reload to its previous state. The only thing which happens is a change of url. The question is how can I handle back and next button events in this situation?