vat-unbilled-invoice.js 610 Bytes
Newer Older
Ken you's avatar
Ken you committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
citModule.directive('citUnbilledInvoice', ['$log',
    function ($log) {
        'use strict';

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

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