<h4 class="bg-primary">Advanced Device Brand</h4>
<p>Choose the manufacturer brand of the device.</p>

<p>Device type is: <strong class="text-primary">{{device.category.name}}</strong></p>
<p>Labeled: <strong class="text-primary">{{device.name}}</strong></p>

<div class="form-group">

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

</div>

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