Use the attributes ng-model
to specify the value of the search field.
Use the attributes placeholder
to specify the placeholder of the search field.
This markup:
<uif-searchbox />
Renders this:
Example using a controller
scope.value: {{value}}
This markup:
<label>Click me to toggle: <input type="checkbox" ng-model="disabled"></label><br/>
<uif-searchbox ng-disabled="disabled"/>
Renders this:
This markup:
<uif-searchbox disabled="disabled"/>
Renders this: