vat-voucher-mapping.js 586 Bytes
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19

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

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

        return {
            restrict: 'E',
            templateUrl: '/app/vat/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();
            }
        };
    }
]);