Skip to content

Instantly share code, notes, and snippets.

@ethanfrogers
Last active December 23, 2018 21:35
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save ethanfrogers/80527b1e5beaef3ac53cfef8b6ecd605 to your computer and use it in GitHub Desktop.
Save ethanfrogers/80527b1e5beaef3ac53cfef8b6ecd605 to your computer and use it in GitHub Desktop.
index.html
<div>
<h1>Hello World</h1>
<stage-config-field label="Method" ng-if="$ctrl.displayField('method')">
<ui-select ng-model="$ctrl.stage.method" class="form-control input-sm">
<ui-select-match placeholder="Select a method...">{{$select.selected}}</ui-select-match>
<ui-select-choices repeat="method in $ctrl.methods | filter: $select.search">
<span ng-bind-html="method | highlight: $select.search"></span>
</ui-select-choices>
</ui-select>
</stage-config-field>
</div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment