mirror of https://github.com/nextcloud/contacts
14 lines
317 B
JavaScript
14 lines
317 B
JavaScript
angular.module('contactsApp')
|
|
.directive('group', function() {
|
|
return {
|
|
restrict: 'A', // has to be an attribute to work with core css
|
|
scope: {},
|
|
controller: 'groupCtrl',
|
|
controllerAs: 'ctrl',
|
|
bindToController: {
|
|
group: '=group'
|
|
},
|
|
templateUrl: OC.linkTo('contacts', 'templates/group.html')
|
|
};
|
|
});
|