What can I do with complex POJOs tree in my template?
For example:
<div
important-attr="{{item.another_sub_item_three.lets_go_a_little_dipper.property}} "
another-important-attr="{{ item.another_sub_item_three.just_one_more.another-property }}"
>
</div>
I want to emphasize that the data structure is fixed and comes from a legacy API.
Using ng-repeat might solve the issue, but it doesn't seem like the best solution, especially since it's not a collection but just one item.
<div
ng-repeat="prop in item.another_sub_item_three.lets_go_a_little_dipper"
important-attr="{{prop.property}}"
another-important-attr="{{prop.another-property}}"
>
</div>