awendland / angular-json-tree

Angular directive for displaying a JSON object in an expandable tree structure
Other
79 stars 41 forks source link

Does not respond to `object` changes #2

Closed joshvillbrandt closed 8 years ago

joshvillbrandt commented 9 years ago

It appears that this directive currently does not respond to object changes which minimizes its utility.

joshvillbrandt commented 9 years ago

I ended up using this instead: https://github.com/Goldark/ng-json-explorer

awendland commented 8 years ago

The object data is provided in a two-way binding, so it should update to object changes (though I may be wrong). The gh-pages demo uses this functionality to support loading different objects.

baluvanan commented 5 years ago

Faced the same issue when we were updating the scope variable [fixed] by adding a ng-if to the directive to check for the data load is complete