diff --git a/www/plugins/es/js/controllers/registry-controllers.js b/www/plugins/es/js/controllers/registry-controllers.js
index 9f0f278159d1e3400e60d6d74073410e40d7f1e2..64f942fd9f68245682c8c912588e4d6d579a3611 100644
--- a/www/plugins/es/js/controllers/registry-controllers.js
+++ b/www/plugins/es/js/controllers/registry-controllers.js
@@ -434,7 +434,7 @@ function ESWalletPagesController($scope, $controller, $timeout, UIUtils, csWalle
 }
 
 
-function ESRegistryRecordViewController($scope, $state, $q, $timeout, $ionicPopover, $ionicHistory, $translate,
+function ESRegistryRecordViewController($scope, $rootScope, $state, $q, $timeout, $ionicPopover, $ionicHistory, $translate,
                                         $anchorScroll, csConfig,
                                         csWallet, esRegistry, UIUtils, esHttp) {
   'ngInject';