R
R
Roman Kuzmenko2016-10-02 13:33:12
Angular
Roman Kuzmenko, 2016-10-02 13:33:12

How to reload a view after closing a modal?

Hello! Application on Ionicframework.
The task after closing the modal window is to reload/update the view.
Function:

$scope.applyfilter = function() {
        localStorage.setItem("xxx","xxx");
        $scope.modalfilter.hide();
        $state.transitionTo($state.current, {}, {reload: true});
    };

Modal closes but view does not update

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