'use strict'; define(['app'], function (app) { app.directive('jsRel', ['$log', function ($log) { return { restrict : 'E', scope : { event : '=', data : '=', tableConfigs : '=', hideHeader : '=', // 헤더 부분 숨김 여부 useSort : '=', // 정령 기능 사용 여부 detailView : "=" // 이슈 목록 상세형 변경을 위해 사용. 다른 화면은 사용하지 않음. }, replace : true, templateUrl : '/custom_components/js-rel/js-rel.html', controller : function ($scope, $element, $attrs) { $scope.fn = { getResponseData : getResponseData }; // 테이블 정보 가져오기 function getResponseData() { return $scope.data; } }, link : function (scope, element, attrs) { } }; }]) });