How to properly execute a function inside ng-repeat

后端 未结 4 1125
没有蜡笔的小新
没有蜡笔的小新 2021-01-01 18:29

SITUATION:

I am making an app in AngularJs that assign permissions. In order to do this i have three nested ng-repeat.

First loop:

4条回答
  •  挽巷
    挽巷 (楼主)
    2021-01-01 18:56

    I would create a factory for category then move your get_sub_categories function into this new factory.

提交回复
热议问题