I have an Angular Dart component with the following html:
EDIT: For some reason, some of my html did not copy correctly. outside the label tag I have:
<div class="btn-group btn-group-vertical" data-toggle="buttons">
`
<label ng-repeat="item in items" class="btn btn-primary btn-sm btn-block" ng-show="isItemVisible(item)">
<input type="radio" name="options" value="{{item}}" ng-model="selected">{{item}}
<span class="badge pull-right"><span class="glyphicon glyphicon-ok"></span></span>
</label>
</div>`
However, this never updates the model. I also tried using onclick, ng-click and ng-change with the same result - functions are never called. Is there some kind of directive that I am using incorrectly?
source
share