Fixed ticket #38: Global state in checkboxlist is causing bugs using the parentscope instead of a directive-global variable