title: Autoscroll down angularjs
body: <p>Hi I'm creating a chat app with angularjs that autoscrolls down when a user messages another user.  I'm not sure how to implement this as my chat window is a fixed ul element.  I'm thinking I will need to implement a directive to do this (inboxmsg-scroll on the ul element)</p>
  
  <p>Any help? thanks.</p>
  
  <p><strong>HTML</strong></p>
  
  <pre><code>&lt;ul class="chatting-window" inboxmsg-scroll&gt;
      &lt;li data-ng-repeat="messageinfo in messages"&gt;
          &lt;div class="message-date"&gt;
              {{messageinfo[0]}}
          &lt;/div&gt;
      &lt;/li&gt;
  &lt;/ul&gt;
  </code></pre>