I have a tables array consist of two objects. Each object having the tablename. I use ng-repeat for the checkbox. When I select the checkbox selected object will push into array [tablelist] and the array will use for drodownlist.
$scope.tables=[{"tabelname":"t1},{{tabelname:t2}}]
$scope.tablelist=[]
this is my html code
<div ng-repeat="table in tables">
<span class="col-sm-1">
<input type="checkbox" ng-model="table.tablename" class="form-group">{{table.tablename}}</span>
</div>
<select ng-options="table.tablename as table.tablename for table in tablelist></select>
$scope.tablesbut you are referring to$scope.table?tablenamevstabelname..? more?