{"action":"created","issue":{"url":"https://api.github.com/repos/isteven/angular-multi-select/issues/178","labels_url":"https://api.github.com/repos/isteven/angular-multi-select/issues/178/labels{/name}","comments_url":"https://api.github.com/repos/isteven/angular-multi-select/issues/178/comments","events_url":"https://api.github.com/repos/isteven/angular-multi-select/issues/178/events","html_url":"https://github.com/isteven/angular-multi-select/issues/178","id":56197775,"number":178,"title":"when the angular-multi-select inside tab (tabset) output-module had Invalid","user":{"login":"liulipengju","id":10510950,"avatar_url":"https://avatars.githubusercontent.com/u/10510950?v=3","gravatar_id":"","url":"https://api.github.com/users/liulipengju","html_url":"https://github.com/liulipengju","followers_url":"https://api.github.com/users/liulipengju/followers","following_url":"https://api.github.com/users/liulipengju/following{/other_user}","gists_url":"https://api.github.com/users/liulipengju/gists{/gist_id}","starred_url":"https://api.github.com/users/liulipengju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liulipengju/subscriptions","organizations_url":"https://api.github.com/users/liulipengju/orgs","repos_url":"https://api.github.com/users/liulipengju/repos","events_url":"https://api.github.com/users/liulipengju/events{/privacy}","received_events_url":"https://api.github.com/users/liulipengju/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":22,"created_at":"2015-02-02T05:30:52Z","updated_at":"2015-02-02T08:55:22Z","closed_at":null,"body":"Hi isteven\r\n     when the angular-multi-select inside tab (tabset) output-module had Invalid,see the following code\r\n# code\r\n`<form ng-submit=\"exportTables()\">`\r\n`\t<div>`\r\n`\t\t<div>`\r\n`\t\t\t<label class=\"col-md-1\">select table</label>`\r\n`\t\t\t<div class=\"col-md-6\">`\r\n`\t\t\t<tabset style=\"margin-left:8px;\">`\r\n`\t\t\t\t<tab heading=\"Table Manage\"  >`\r\n`\t\t\t\t\t<div`\r\n`\t\t\t\t\t\tmulti-select`\r\n`\t\t\t\t\t\tinput-model=\"tableInit\"`\r\n`\t\t\t\t\t\toutput-model=\"tableOut\"`\r\n`\t\t\t\t\t\tbutton-label=\"name\"`\r\n`\t\t\t\t\t\titem-label=\"name maker\"`\r\n`\t\t\t\t\t\ttick-property=\"ticked\"`\r\n`\t\t\t\t\t>`\r\n`\t\t\t\t\t</div>\t`\t\t\t\r\n`\t\t\t\t</tab>`\r\n`\t\t\t</tabset>`\r\n`\t\t\t</div>`\r\n`\t\t\t<div class=\"col-md-4\">`\r\n`\t\t\t\t<button type=\"submit\" class=\"btn purple\" ng-disabled=\"tableOut.length === 0\">Submit</button>`\r\n`\t\t\t</div>`\r\n`\t\t</div>`\r\n`\t</div>`\r\n`</form>`\r\n\r\n\r\n# controller\r\n$scope.tableInit = [];\r\n        $scope.tableOut = [];\r\n        $scope.tableItems = [\r\n            {\r\n                \"tableName\": \"t_purchase\",\r\n                \"tableDesc\": \"采购订单表\"\r\n            },\r\n            {\r\n                \"tableName\": \"t_purchase_backgoods\",\r\n                \"tableDesc\": \"采购退货表\"\r\n            }];\r\n\r\n$scope.initSelectItems = function () {\r\n            angular.forEach($scope.tableItems, function (q) {\r\n                $scope.tableInit.push({\r\n                    name: q.tableDesc,\r\n                    maker: '',\r\n                    ticked: false,\r\n                    tableName: q.tableName\r\n                });\r\n            });\r\n        };\r\n$scope.exportTables = function () {\r\n        \tconsole.log($scope.tableOut);\r\n};\r\n\r\n\r\nyou can try!\r\n"},"comment":{"url":"https://api.github.com/repos/isteven/angular-multi-select/issues/comments/72423687","html_url":"https://github.com/isteven/angular-multi-select/issues/178#issuecomment-72423687","issue_url":"https://api.github.com/repos/isteven/angular-multi-select/issues/178","id":72423687,"user":{"login":"liulipengju","id":10510950,"avatar_url":"https://avatars.githubusercontent.com/u/10510950?v=3","gravatar_id":"","url":"https://api.github.com/users/liulipengju","html_url":"https://github.com/liulipengju","followers_url":"https://api.github.com/users/liulipengju/followers","following_url":"https://api.github.com/users/liulipengju/following{/other_user}","gists_url":"https://api.github.com/users/liulipengju/gists{/gist_id}","starred_url":"https://api.github.com/users/liulipengju/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/liulipengju/subscriptions","organizations_url":"https://api.github.com/users/liulipengju/orgs","repos_url":"https://api.github.com/users/liulipengju/repos","events_url":"https://api.github.com/users/liulipengju/events{/privacy}","received_events_url":"https://api.github.com/users/liulipengju/received_events","type":"User","site_admin":false},"created_at":"2015-02-02T08:55:22Z","updated_at":"2015-02-02T08:55:22Z","body":"you can copy  multiselect of div out tabset and run "}}