title: Trigger first element in ng-repeat
body: <p>How can I trigger the first element in ng-repeat. This is my code so far. I want to trigger the ng-click event on load of the page. Thank you in advance. </p>
  
  <pre><code>&lt;div class="row member-list"&gt;
                  &lt;a class="list-group-item active" ng-repeat="connect in Connected" ng-click="getChat(connect.TokenId, connect.SessionId)"&gt;
                    &lt;h4 class="list-group-item-heading"&gt;&lt;strong ng-bind="connect.SupportId"&gt;&lt;/strong&gt;&lt;/h4&gt;
                      &lt;ul class="list-unstyled"&gt;
                        &lt;li&gt;&lt;strong&gt;Token ID :&lt;strong ng-bind="connect.TokenId"&gt;&lt;/strong&gt; &lt;/li&gt;
                        &lt;li&gt;
                          &lt;strong&gt;Session :&lt;/strong&gt; 
                          &lt;span class="Connect" ng-bind="connect.SessionId"&gt;&lt;div class="ConnectIcon"&gt;&lt;/div&gt;&lt;/span&gt;
                        &lt;/li&gt;
                        &lt;li&gt;&lt;strong ng-bind="connect.CreateTime"&gt;Chat Duration :&lt;/strong&gt;&lt;/li&gt;
                      &lt;/ul&gt;
                  &lt;/a&gt;
  
                &lt;/div&gt;
  </code></pre>