1 2; 3 4(function (angular) { 5 angular.module('afControls').directive('afTextbox', ['$compile', '$timeout', '$parse', '$sce', '$http', '$templateCache', 6 function ($compile, $timeout, $parse, $sce, $http, $templateCache) { 7 return { 8 restrict: 'A', 9 scope: { 10 settings: '=', 11 field: '=', 12 registerToEvent: '&' 13 }, 14 //templateUrl: "textbox.html", 15 link: function (scope, element, attrs) { 16 console.log(scope.settings); 17 18 var templateUrl = scope.settings.FormTemplateBaseUrl + "/controls/textbox.html";// $parse(attrs.template)(scope); 19 $http.get(templateUrl, { cache: $templateCache }).success(function (tplContent) { 20 element.replaceWith($compile(tplContent)(scope)); 21 }); 22 } 23 }; 24 }]); 25})(window.dnnsfAngular15 || window.angular); 26
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.