title: Focus function is not working in angular
body: <p>Simple focus is not working in angular </p>
  
  <pre><code>&lt;div class="search pull-right tab-{{ showDetails2 }}" data-ng-click="showDetails2 = !showDetails2; showDetails = false; showDetails1 = false;searchFocus();"&gt;
  </code></pre>
  
  <p>html</p>
  
  <pre><code>&lt;input type="text" data-ng-model="model.fedSearchTerm"
                      placeholder="New Search" required class="span12 fedsearch-box" /&gt;
  </code></pre>
  
  <p>MY function</p>
  
  <pre><code>$scope.searchFocus = function() {
              $('.fedsearch-box').focus();
          };
  </code></pre>