commonModule.directive('addExistRoleModal', ['$log', function ($log) { 'use strict'; $log.debug('addExistUserModal.ctor()...'); return { restrict: 'E', templateUrl: '/app/common/controls/add-exist-role-modal/add-exist-role-modal.html' + '?_=' + Math.random(), replace: true, controller: 'addExistRoleModalController', scope: { operateType: '=', isUpdate: '=?', selectedRoleList: '=?', //only id selectedItemList: '=?', //include id, name,etc, allowUncheck: '=?', }, link: function (scope, element) { } }; } ]);