<buttonng-click="removeFilter($index)"title="remove this filter">x</button>
<buttonng-click="removeFilter($index)"title="remove this filter">x</button>
<span>...where the </span>
<span>...where the </span>
<selectng-model="filter.entity">
<selectng-model="filter.entity"ng-options="entity as entity.key for entity in entities"></select>
<optionng-repeat="(entityName, entityColumns) in entities"value="{{entityName}}">{{entityName}}</option>
<selectng-if="filter.entity"ng-model="filter.column"ng-options="column as column.key for column in filter.entity.columns | orderBy:'key'"></select>
</select>
<selectng-if="filter.column"ng-model="filter.operator"ng-options="operator.key as operator.label for operator in operators[filter.column.type]"></select>