title: How to scroll to div in angularjs
body: <p>I am trying to scroll to my tabs bar when I click on a button</p>
  
  <p>My html(tabs)</p>
  
  <pre><code>&lt;div class="col-xs-12" id="tabs"&gt;
    ---All the code here----  
  &lt;/div&gt;
  </code></pre>
  
  <p>My js,</p>
  
  <pre><code>  function ScrollTopForTabs(){
      $timeout(function () {
           $('html, body').animate({
              scrollTop: 650
          }, 1000);
      }, 1000);
    }
  </code></pre>
  
  <p>This was fine up to now but I was given a fixed height. Can anyone please suggest me how to scroll top to <code>div</code> directly.Thanks.</p>