I want to reset <md-autocomplete>
control in Material AngularJS.
https://material.angularjs.org/latest/#/demo/material.components.autocomplete
https://material.angularjs.org/latest/#/api/material.components.autocomplete/directive/mdAutocomplete
Basically I want to reset it to it's initial state. I can access ng-model
& assign null
to it. But, it doesn't remove the displayed text contained in md-item-text
attribute.
Can please someone let me know how can I solve the same.