vat-parent-code-modal.js 679 Bytes
Newer Older
eddie.woo's avatar
eddie.woo committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22
commonModule.directive('vatParentCodeModal', ['$log',
    function ($log) {
        'use strict';
        $log.debug('vatParentCodeModal.ctor()...');

        return {
            restrict: 'E',
            templateUrl: '/app/common/controls/vat-parent-code-modal/vat-parent-code-modal.html' + '?_=' + Math.random(),
            replace: true,
            controller: 'vatParentCodeModalController',
            scope:
            {
                uList: '=',
                uBackendData: '=',
                onConfirmSelection: '&',
                onCancelSelection: '&',
                isShow: '=',
                isUncheckedAll: '='
            }
        };
    }
]);