0
我有一个单选按钮的值被选择这样的:如何一个角模型绑定到另一个NG-模型
<input type="radio" ng-model="lesson.sectionID" value="{{section.$id}}">
我想的是输入到另一个模型的值绑定,我试图以下:
<input type="text" ng-model="module.sectionID" ng-bind="lesson.sectionID">
和
<input type="text" ng-model="module.sectionID" ng-value="lesson.sectionID">
当我试图NG-值它的文字输入设置为正确的值,但ACTUA没有设置模型的值。