vatModule.directive('vatUnbilledInvoice', ['$log',
    function ($log) {
        'use strict';

        $log.debug('vatUnbilledInvoice.ctor()...');

        return {
            restrict: 'E',
            templateUrl: '/app/vat/reduction/vat-unbilled-invoice/vat-unbilled-invoice.html' + '?_=' + Math.random(),
            replace: true,
            scope: {},
            controller: 'vatUnbilledInvoiceController',
            link: function ($scope, $element, $attr) {
                $scope.token = $('input[name="__RequestVerificationToken"]').val();
            }
        };
    }
]);