summaryrefslogtreecommitdiffstats
path: root/js/components/propertyGroup/propertyGroup_directive.js
diff options
context:
space:
mode:
Diffstat (limited to 'js/components/propertyGroup/propertyGroup_directive.js')
-rw-r--r--js/components/propertyGroup/propertyGroup_directive.js20
1 files changed, 0 insertions, 20 deletions
diff --git a/js/components/propertyGroup/propertyGroup_directive.js b/js/components/propertyGroup/propertyGroup_directive.js
deleted file mode 100644
index d16a5d20..00000000
--- a/js/components/propertyGroup/propertyGroup_directive.js
+++ /dev/null
@@ -1,20 +0,0 @@
-angular.module('contactsApp')
-.directive('propertygroup', function() {
- return {
- scope: {},
- controller: 'propertyGroupCtrl',
- controllerAs: 'ctrl',
- bindToController: {
- properties: '=data',
- name: '=',
- contact: '=model'
- },
- templateUrl: OC.linkTo('contacts', 'templates/propertyGroup.html'),
- link: function(scope, element, attrs, ctrl) {
- if(ctrl.isHidden()) {
- // TODO replace with class
- element.css('display', 'none');
- }
- }
- };
-});