Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
Hello, I don't understand how to reload route after close a modal. In my modal controller I now do this:
$scope.closeDialog = function () { $route.reload(); $scope.dismiss(); }
and in my view I do:
<a href="" ng-click="close()" class="btn pull-right">Close</a>
But when I close the modal, the route doesn't reload.
What I'm doing wrong?
Thank you for the support
is working on a reply...
Write your reply to:
Upload image
Image will be uploaded when post is submitted
How to reload route after close modal
Hello, I don't understand how to reload route after close a modal. In my modal controller I now do this:
and in my view I do:
But when I close the modal, the route doesn't reload.
What I'm doing wrong?
Thank you for the support
is working on a reply...