title: Angular input auto-focus not working on IOS
body: <p>I need to focus on an input as soon as it becomes visible (AngularJS).<br>
  I used <code>ng-attr-autofocus</code> to do so.  </p>
  
  <pre><code>&lt;input ng-attr-autofocus="{{SOME_SCOPE_VARIABLE}}"&gt;
  </code></pre>
  
  <p>It works great, accept for IOS devices.<br>
  I realized that IOS developers "canceled" the behavior of <code>.focus()</code> function.</p>
  
  <p>I can't find a way to focus, I tried adding directives and many other methods I came across to, no success. (I need to do it to make the keypad visible)</p>
  
  <p><strong>EDIT:</strong> PHP</p>