summaryrefslogtreecommitdiffstats
path: root/js/components/propertyGroup/propertyGroup_controller.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/components/propertyGroup/propertyGroup_controller.js')
-rw-r--r--js/components/propertyGroup/propertyGroup_controller.js29
1 files changed, 0 insertions, 29 deletions
diff --git a/js/components/propertyGroup/propertyGroup_controller.js b/js/components/propertyGroup/propertyGroup_controller.js
deleted file mode 100644
index 02106924..00000000
--- a/js/components/propertyGroup/propertyGroup_controller.js
+++ /dev/null
@@ -1,29 +0,0 @@
-angular.module('contactsApp')
-.controller('propertyGroupCtrl', function(vCardPropertiesService) {
- var ctrl = this;
-
- ctrl.meta = vCardPropertiesService.getMeta(ctrl.name);
-
- this.isHidden = function() {
- return ctrl.meta.hasOwnProperty('hidden') && ctrl.meta.hidden === true;
- };
-
- this.getIconClass = function() {
- return ctrl.meta.icon || 'icon-contacts-dark';
- };
-
- this.getInfoClass = function() {
- if (ctrl.meta.hasOwnProperty('info')) {
- return 'icon-info';
-
- }
- };
-
- this.getInfoText = function() {
- return ctrl.meta.info;
- };
-
- this.getReadableName = function() {
- return ctrl.meta.readableName;
- };
-});