diff options
Diffstat (limited to 'js/components/detailsItem/detailsItem_directive.js')
-rw-r--r-- | js/components/detailsItem/detailsItem_directive.js | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/js/components/detailsItem/detailsItem_directive.js b/js/components/detailsItem/detailsItem_directive.js deleted file mode 100644 index b7a2521a..00000000 --- a/js/components/detailsItem/detailsItem_directive.js +++ /dev/null @@ -1,21 +0,0 @@ -angular.module('contactsApp') -.directive('detailsitem', ['$compile', function($compile) { - return { - scope: {}, - controller: 'detailsItemCtrl', - controllerAs: 'ctrl', - bindToController: { - name: '=', - data: '=', - contact: '=model', - index: '=' - }, - link: function(scope, element, attrs, ctrl) { - ctrl.getTemplate().then(function(html) { - var template = angular.element(html); - element.append(template); - $compile(template)(scope); - }); - } - }; -}]); |