You can get around all the manual html stitching (which IMO is bad 
practice) by using: https://github.com/dotJEM/angular-tree
Example: http://plnkr.co/edit/karsEsh9Y33DxaJwkMHV?p=preview


On Tuesday, March 12, 2013 10:01:16 AM UTC+1, Sergey Chico wrote:
>
> Hi I'm trying to make a collapsible checkbox tree directive: 
> http://plnkr.co/edit/v9Cl4d?p=preview
> It works fine (except select/unselect all children clicking on parent is 
> not implemented yet) but I can not get the result array of checkbox values. 
> How can I get something like ["0101": true, "0102": true] ? I understand 
> that I should have some array in parent scope of my recursive directive but 
> I can not get it work proper.
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to angular+unsubscr...@googlegroups.com.
To post to this group, send email to angular@googlegroups.com.
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to