Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Adriano Fabri 383 posts 1280 karma points
    Jan 24, 2018 @ 11:03
    Adriano Fabri
    0

    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:

    $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

  • This forum is in read-only mode while we transition to the new forum.

    You can continue this topic on the new forum by tapping the "Continue discussion" link below.

Please Sign in or register to post replies