angular-bootstrap-nav-tree icon indicating copy to clipboard operation
angular-bootstrap-nav-tree copied to clipboard

Expand-level not working while loading data using $resource for me

Open Ngsnet opened this issue 10 years ago • 2 comments

Hi,

I have this :

When treeData are setup in controller, it`s expanding. If i am loading data using $resource and filling data in get().$promise.then function, my tree is not expnading to level 2.

My guess is, that its because my data are created empty first and filled later in promise and that i should use some $watch but i dont know how.

Thank you, Denis

Ngsnet avatar Jul 22 '14 19:07 Ngsnet

Similar problem here. In my case, the expand-level works only the first time. If I re-load, it does not work. I'm also using $resource to load the treeData.

jlcanovas avatar Sep 23 '14 08:09 jlcanovas

+1

fellu avatar May 13 '15 11:05 fellu