Closed tamtakoe closed 11 years ago
Your solution seems to be perfectly adequate, why do you need a new directive? On May 15, 2013 1:29 AM, "tamtakoe" notifications@github.com wrote:
Make, please, module for tree-structures (catalog, menu, list). F.e. http://jsfiddle.net/brendanowen/uXbn6/8/ http://jsfiddle.net/uXbn6/296/
— Reply to this email directly or view it on GitHubhttps://github.com/angular-ui/angular-ui/issues/560 .
Because it is widespread case.
Now I need collapse-tree menu for site like this demo: http://tamtakoe.ru/annaverdi. You can click "sign in" → "Войти" (without password) and see admin panel and play with menu settings (first link up to menu — sorting with jQ ui-sortable, second — making new items). It is very difficult case, but I don't now how make it in Angular.
Again, I don't understand why you need a directive to do this when you can simply use ng-repeat
I put two links in first message. It is absolutely not simple for use. It means individual html-file for item template (comparative with ng-repeat, which use item template from main page).
Make, please, module for tree-structures (catalog, menu, list). F.e. http://jsfiddle.net/brendanowen/uXbn6/8/ http://jsfiddle.net/uXbn6/296/