"use strict"; /** * Created by igor.samulenko on 7/22/2014. */ (function () { 'use strict'; angular.module('myitsmApp') .directive('displayTicketDates', function () { return { restrict: 'E', templateUrl: 'views/ticket/partials/display-ticket-dates.html', scope: { ticket: '=' }, link: function (scope) { scope.isChange = function () { return scope.ticket.type === EntityVO.TYPE_CHANGE; }; scope.isRelease = function () { return scope.ticket.type === EntityVO.TYPE_RELEASE; }; } }; }); }());