1 2 contractsApp.directive('objectAccordationList', 3 ['mainServices', 'formServices', 4 function (mainServices, formServices) { 5 6 return { 7 restrict: 'EA', 8 controllerAs: 'ctrl', 9 replace: true, 10 scope: { 11 object: "@", 12 mainLabels: "@", 13 detailsLabels: "@" 14 }, 15 controller: ['$scope', '$element', '$attrs', function ($scope, $element, $attrs) { 16 17 var _ctrl = this; 18 19 _ctrl.toogleInfo = function (id) { 20 $(id).collapse('toggle'); 21 }; 22 23 _ctrl.object = JSON.parse($scope.object); 24 _ctrl.mainLabels = JSON.parse($scope.mainLabels); 25 _ctrl.detailsLabels = JSON.parse($scope.detailsLabels); 26 27 //check if current value is an array 28 _ctrl.isArray = function (value) { 29 30 return mainServices.isArray(value); 31 }; 32 33 }], 34 templateUrl: privateSuffix+'/contratti/theme/partials/structure/objectAccordationList.html' 35 }; 36}]); 37
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.