<h4 class="bg-primary">Advanced Device Type</h4>
<p>Select the device type to control.</p>

<div class="form-group">

  <ui-select ng-model="device.category" theme="bootstrap">
    <ui-select-match placeholder="Select or search a type in the list...">{{$select.selected.name}}</ui-select-match>
    <ui-select-choices repeat="category in categories | filter: $select.search">
      <span ng-bind-html="category.name | highlight: $select.search"></span>
    </ui-select-choices>
  </ui-select>

</div>

<div class="left-and-right">
  <go-back state="menu.programming.options"></go-back>
  <button class="btn btn-primary btn-next" ng-disabled="!device.category" ng-click="doNext()">Next</button>
</div>
