1 2 3 4 5 6 7 8 9 10 11 12 13
angular.module('contactsApp') .directive('contactlist', function() { return { priority: 1, scope: {}, controller: 'contactlistCtrl', controllerAs: 'ctrl', bindToController: { addressbook: '=adrbook' }, templateUrl: OC.linkTo('contacts', 'templates/contactList.html') }; });