Dynamically assign ng-model

前端 未结 5 1344
一整个雨季
一整个雨季 2020-11-29 19:49

I\'m trying to generate a set of check-boxes from an object array. I\'m aiming to have the check-boxes dynamically map their ng-model to a property of the new object that wi

5条回答
  •  孤城傲影
    2020-11-29 20:19

    This should give you desired results:

    
    

    Here is a working plunk: http://plnkr.co/edit/ALHQtkjiUDzZVtTfLIOR?p=preview

提交回复
热议问题