angular-ui / angular-ui-OLDREPO

DISCONTINUED REPO: This project has been restructured ->
http://angular-ui.github.com/
MIT License
2.2k stars 355 forks source link

ui-tree #560

Closed tamtakoe closed 11 years ago

tamtakoe commented 11 years ago

Make, please, module for tree-structures (catalog, menu, list). F.e. http://jsfiddle.net/brendanowen/uXbn6/8/ http://jsfiddle.net/uXbn6/296/

ProLoser commented 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 .

tamtakoe commented 11 years ago

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.

ProLoser commented 11 years ago

Again, I don't understand why you need a directive to do this when you can simply use ng-repeat

tamtakoe commented 11 years ago

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).