diff --git a/js/services/controllerUtils.js b/js/services/controllerUtils.js index b7457390a..56f87fc00 100644 --- a/js/services/controllerUtils.js +++ b/js/services/controllerUtils.js @@ -19,7 +19,7 @@ angular.module('copay.controllerUtils') video.close(); // Clear rootScope for (var i in $rootScope) { - if (i.charAt(0) != '$') { + if (i.charAt(0) != '$' && i != 'flashMessage') { delete $rootScope[i]; } }