Pass parameter to Angular ng-include

前端 未结 4 2135
南笙
南笙 2020-12-29 01:26

I am trying to display a binary tree of elements, which I go through recursively with ng-include.

What is the difference between ng-init=\"item = item.left\"

4条回答
  •  余生分开走
    2020-12-29 01:33

    I am using ng-include with ng-repeat of an array containing string. If you want to send multple data so please see Junus Ergin answer.

    See my code Snippet:

    
    

提交回复
热议问题