<label class="control-label"> @Labels.row: </label></div> <div class="col-xs-3"> <select class="form-control" ng-model="currentMatrixTemplate.rowAttributeId" ng-options="class.value as class.text for class in metaData.attributes"></select> </div>I need to make sure that the list of options doesn't include the option selected in the second drop down which uses currentMatrixTemplate.columnAttributeId.
<select class="form-control" ng-model="currentMatrixTemplate.rowAttributeId" ng-options="class.value as class.text for class in metaData.attributes |filter: { value: '!' + currentMatrixTemplate.columnAttributeId }"></select>