<buttonclass="add"ng-click="addDataset()">Add a dataset...</button>
<buttonclass="add"ng-click="addDataset()">Add a dataset...</button>
<liclass="dataset"ng-controller="DatasetController"ng-repeat="dataset in datasets">
<liclass="dataset"ng-controller="DatasetController"ng-repeat="dataset in datasets">
<hr/>
<hr/>
<divclass="corpus">
<divclass="corpus">
<buttonng-click="removeDataset($index)"title="remove this dataset">X</button>
<buttonng-click="removeDataset($index)"title="remove this dataset">X</button>
<selectng-model="mesured"style="background-color:{{ getColor($index, datasets.length) }}"ng-options="value as key for (key, value) in {'Documents count': 'nodes.count', 'Ngrams count': 'ngrams.count'}"ng-change="updateQuery()"></select>
<selectng-model="mesured"style="background-color:{{ getColor($index, datasets.length) }}"ng-options="value as key for (key, value) in {'Documents count': 'nodes.count', 'Ngrams count': 'ngrams.count'}"ng-change="updateQuery()"></select>
...
@@ -236,21 +240,17 @@
...
@@ -236,21 +240,17 @@
<ling-repeat="filter in filters">
<ling-repeat="filter in filters">
<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>
<spanng-if="filter.entity.key != 'ngrams'">
</select>
<selectng-if="filter.entity"ng-model="filter.column"ng-options="column as column.key for column in filter.entity.columns | orderBy:'key'"></select>
<spanng-if="filter.entity">
<selectng-if="filter.column"ng-model="filter.operator"ng-options="operator.key as operator.label for operator in operators[filter.column.type]"></select>
<optionng-repeat="column in entities[filter.entity] | orderBy:'key'"value="{{column.key}}">{{column.key}}</option>
</span>
</select>
<spanng-if="filter.entity.key == 'ngrams'">
<spanng-if="filter.column"ng-repeat="column in entities[filter.entity]">
are in this list:
<spanng-if="column.key == filter.column">
<tags-inputng-model="filter.value"display-property="terms"placeholder="Add an ngram"on-tag-added="updateQuery()"on-tag-removed="updateQuery()"add-from-autocomplete-only="true">