vat-voucher-mapping.js 604 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 19

citModule.directive('citVoucherMapping', ['$log',
    function ($log) {
        'use strict';

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

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