%li(ng-repeat="item in items")
%input(type="radio"ng-model="select_item"value="")
%input(type="text"value="select_item")
从代码上看,多个RadioBtn分在同一组,然后显示选择项的值。但是,这在实际操作中是不行的。
The ngRepeat directive instantiates a template once per item from a collection. Each template instance gets its own scope, where the given loop variable is set to the current collection item, and $index is set to the item index or key.