A simple AngularJS input directive that adds a clear button to textboxes. Clean implementation with no scope.$apply or scope.$watch usage.
Original jquery implementation - http://stackoverflow.com/questions/6258521/clear-icon-inside-input-text
<input clear-text id="search-box" ng-model="searchString" class="clearable" type="text" />
Run demo.html for a working demo.