Assign id="auto_complete_id"Attributemd-autocomplete
You can try something like this: (Tested. This should work. This will not work on codepen, but it will cause an error in the console)
codepen (Looking up elements via selectors is not supported by jqLite!)
.
HTML:
<button ng-click=openAutocomplete()> Open </button>
JS:
$scope.openAutocomplete=function(){
setTimeout(function(){
angular.element('#auto_complete_id').find('input').focus();
},0);
}