1- < h3 class ="pull-left "> {{title}}</ h3 >
2- < div class ="select-list textlist clear-both ">
3- < div class ="form-group ">
4- < div class ="controls ">
5- < div class ="input-group ">
6- < span class ="input-group-addon "> < i class ="glyphicon glyphicon-bullhorn "> </ i > </ span >
7- < input type ="text " class ="form-control "
8- ng-model ="selectedItem "
9- typeahead-min-length ="2 "
10- typeahead-wait-ms ="200 "
11- typeahead-on-select ="selectItem() "
12- typeahead ="item as item.name for item in items | filter:{name: $viewValue} | limitTo: 3 "
13- />
1+ < div class ="data-set-container ">
2+ < h3 class ="pull-left "> {{title}}</ h3 >
3+ < div class ="select-list textlist clear-both ">
4+ < div class ="form-group ">
5+ < div class ="controls ">
6+ < div class ="input-group data ">
7+ < input type ="text " placeholder ="search " class ="form-control "
8+ ng-model ="selectedItem "
9+ typeahead-min-length ="2 "
10+ typeahead-wait-ms ="200 "
11+ typeahead-on-select ="selectItem() "
12+ typeahead ="item as item.name for item in items | filter:{name: $viewValue} | limitTo: 3 "
13+ />
14+ </ div >
1415 </ div >
1516 </ div >
16- </ div >
17- < div class ="dataset ">
18- < table class =" table " >
19- < tbody >
20- < tr ng-repeat =" item in selectedItems " >
21- < td > {{item.name}} </ td >
22- < td class ="remove-selected ">
23- < span class =" glyphicon glyphicon-remove-circle remove-selected " ng-click =" removeItem(item) " > </ span >
24- </ td >
25- </ tr >
26- </ tbody >
27- </ table >
17+ < div class =" dataset " >
18+ < table class ="table ">
19+ < tbody >
20+ < tr ng-repeat =" item in selectedItems " >
21+ < td > {{item.name}} </ td >
22+ < td class =" remove-selected " >
23+ < span class ="glyphicon glyphicon- remove-circle remove- selected " ng-click =" removeItem(item) " > </ span >
24+ </ td >
25+ </ tr >
26+ </ tbody >
27+ </ table >
28+ </ div >
2829 </ div >
2930</ div >
0 commit comments