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(); } }; } ]);