N
N
Nick Nesterov2016-04-18 16:22:21
Angular
Nick Nesterov, 2016-04-18 16:22:21

$window.history.back() in ui-router? Or how to get back to the same place?

Hello everyone,
before when I had ngRouter I used $window.history.back() to return to the same thing on the last page from which I switched. That is: I scrolled through the general list of products, clicked on the one I liked, went to the product page, decided to go back, clicked back and went to the place from which I moved.
Now I can not find the same thing for ui-router. Who gets out of this situation? What do you use?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question