I don't get how I can focus the input after it appears with ng-show / ng-hide. I'm using a button with ng-click="showme=!showme" to show and hide my input. Any tips?
HTML:
<div ng-app="">  
  <button ng-click="showme=!showme">SHOW/HIDE</button> 
  <div class="wrapper">
    <p ng-hide="showme">It will appear here!</p>
    <input ng-show="showme" type="text" name="s" placeholder="Search..." />
  </div> 
</div> 
I tryed using what is suggested here, but it doesn't work.
I also tryed the autofocus directive, but it still doesn't work.
