1app.directive('createEventWidget', function () { 2 return { 3 restrict: 'E', 4 templateUrl: '/_Assets/js/angular/app/components/event/event.widget.tpl.html', 5 scope: { 6 tag: '@', 7 take: '@', 8 click: '&' 9 }, controller: function ($scope, $http, $uibModal) { 10 $http.get('/api/data/GetEventsData', { params: { take: $scope.take, tag: $scope.tag } }).then(function (response) { 11 $scope.items = response.data; 12 }); 13 14 $scope.openModal = function (id) { 15 var modalInstance = $uibModal.open({ 16 animation: true, 17 component: 'modalEventComponent', 18 resolve: { 19 id: function () { 20 return id; 21 } 22 } 23 }); 24 }; 25 } 26 }; 27});
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.