Clean variable before enter the controller

This commit is contained in:
Gustavo Maximiliano Cortez 2016-12-19 17:56:43 -03:00
commit 0a295d360b
No known key found for this signature in database
GPG key ID: 15EDAD8D9F2EB1AF

View file

@ -363,4 +363,8 @@ angular.module('copayApp.controllers').controller('importController',
}, 10);
};
$scope.$on("$ionicView.beforeEnter", function(event, data) {
$scope.init();
});
});