It is definitely possible to reset the md-no-cache attribute programmatically at any time in your md-autocomplete .
If the controller has a boolean, let's say:
$scope.noCacheResults = false;
Then in your directive you can bind this variable to the md-no-cache attribute:
<md-autocomplete ... md-no-cache="noCacheResults"> </md-autocomplete>
As with every change to the search parameters, you can set $scope.noCacheResults to true or false depending on whether you want to keep caching query results or not.
source share