1; (function (ng) { 2 'use strict'; 3 4 ng.module('payment') 5 .directive('paymentList', function () { 6 return { 7 restrict: 'A', 8 scope: { 9 items: '=', 10 selectPayment: '=', 11 countVisibleItems: '=', 12 change: '&', 13 anchor: '@', 14 isProgress: '=?' 15 }, 16 controller: 'PaymentListCtrl', 17 controllerAs: 'paymentList', 18 bindToController: true, 19 replace: true, 20 templateUrl: '/scripts/_partials/payment/templates/paymentList.html' 21 }; 22 }); 23 24 ng.module('payment') 25 .directive('paymentTemplate', ['$compile', '$http', '$templateCache', function ($compile, $http, $templateCache) { 26 return { 27 restrict: 'A', 28 scope: { 29 templateUrl: '=', 30 payment: '=', 31 changeControl: '&' 32 }, 33 controller: 'PaymentTemplateCtrl', 34 controllerAs: 'paymentTemplate', 35 bindToController: true, 36 replace: true, 37 template: '<div data-ng-include="paymentTemplate.templateUrl"></div>' 38 }; 39 }]); 40 41})(window.angular);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.