title: input element focus() not working
body: <p>My focus on the input doesn't work</p>
  
  <p>HTML</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>$('input[name=persons]').focus();</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script src="https://ajax.googleapis.com/ajax/libs/jquery/2.1.1/jquery.min.js"&gt;&lt;/script&gt;
  &lt;html ng-app"myApp" ng-controller="person.ng.Controller as myCtrl" class="ng-scope"&gt;
      &lt;input type="text" class="form-control ng-empty ng-valid ng-invalid-required ng-touched" name"persons" ng-model="persons.name" nq-required="isValid('persons.name')" required="required"&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>I do not know what I'm doing wrong.
  Please suggest</p>