diff --git a/UI/WebServerResources/js/Contacts/AddressBook.service.js b/UI/WebServerResources/js/Contacts/AddressBook.service.js index 088740ce8..9b105b15d 100644 --- a/UI/WebServerResources/js/Contacts/AddressBook.service.js +++ b/UI/WebServerResources/js/Contacts/AddressBook.service.js @@ -64,7 +64,7 @@ angular.module('SOGo.ContactsUI'); } catch(e) { - angular.module('SOGo.ContactsUI', ['SOGo.Common']); + angular.module('SOGo.ContactsUI', ['SOGo.Common', 'SOGo.PreferencesUI']); } angular.module('SOGo.ContactsUI') .factory('AddressBook', AddressBook.$factory); diff --git a/UI/WebServerResources/js/Contacts/Card.service.js b/UI/WebServerResources/js/Contacts/Card.service.js index 4cc9e9fa3..88ac78fdd 100644 --- a/UI/WebServerResources/js/Contacts/Card.service.js +++ b/UI/WebServerResources/js/Contacts/Card.service.js @@ -62,7 +62,7 @@ angular.module('SOGo.ContactsUI'); } catch(e) { - angular.module('SOGo.ContactsUI', ['SOGo.Common']); + angular.module('SOGo.ContactsUI', ['SOGo.Common', 'SOGo.PreferencesUI']); } angular.module('SOGo.ContactsUI') .factory('Card', Card.$factory);