title: What is the easiest way to put a default focus on an element in AngularJS?
body: <p>I have a template that is loaded in a modal dialog, there is a single input text on it which I would like to have a focus on. What is the easiest and the Angular way of doing that?</p>
  
  <p><strong>Update</strong>:</p>
  
  <p>This is in part answered in <a href="https://stackoverflow.com/questions/14833326">How to set focus on input field?</a></p>