Answer the question
In order to leave comments, you need to log in
How to change url without reloading controller??
It is necessary that when opening a news post, the address bar containing the news ID changes, and disappears when the modal window is closed, I do it through:
$scope.to = function (curLoc) {
$location.search('news', curLoc);
};
But the controller is rebooting, how to avoid it??
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question