title: Calling method on runtime without firing any event in angularJs
body: <p>I am working on AngularJS+Html application. I want to call an event automatically as div created at runtime.</p>
  
  <p>Div is created with <code>ng-repeat="obj in objList"</code>. As first div created with <code>{{obj.shortName}}</code> its corresponding div load the value from <code>vm.relatedLists</code>.
  <code>vm.relatedLists</code> will be loaded based on <code>obj.shortName</code></p>
  
  <pre><code>&lt;div class="col-sm-8" ng-repeat="obj in objList"&gt;
      &lt;div class="col-sm-2" ng-show="viewRule"&gt;&lt;div class="col-sm-2" ng-if="obj.fullName !== '-'"&gt;{{obj.shortName}}&lt;/div&gt;&lt;div class="col-sm-4" ng-if="obj !== '-'"&gt;&lt;/div&gt;&lt;/div&gt;
          &lt;div class="col-sm-4" ng-if="obj.fullName !== null"&gt;&lt;input placeholder="{{obj.fullName}}" class="form-control"  id="field_obj{{obj.id}}" name="field_obj{{obj.id}}" type="text" ng-model="vm.details.obj"  uib-typeahead="reg.fullName for reg in vm.relatedLists | filter:{fullName:$viewValue} | limitTo:25" typeahead-editable="false" class="form-control"&gt;&lt;/div&gt;
          &lt;div class="col-sm-1" ng-if="obj.fullName !== null &amp;&amp; obj.fullName !== undefined &amp;&amp; obj.fullName !== ''"&gt; &lt;button class="btn btn-primary"&gt;&lt;i class="fa fa-eye" style="font-size: 16px;" aria-hidden="true"&gt;&lt;/i&gt;&lt;/button&gt;&lt;/div&gt;
          &lt;div class="col-sm-1" ng-if="obj.fullName !== null"&gt;&lt;button class="btn btn-primary" ng-click="vm.refresh('mpr',1)" &gt;&lt;i class="fa fa-refresh" style="font-size: 16px;" aria-hidden="true"&gt;&lt;/i&gt;&lt;/button&gt;&lt;/div&gt;
          &lt;div class="col-sm-12"&gt;&lt;p&gt;&lt;/p&gt;&lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  </code></pre>
  
  <p>Method to be call on runtime creating div is :</p>
  
  <pre><code>function changeLoadLists(shortName){
      if (shortName!= undefined) {
          var chapterId='I';
          if (item == 'one' || item == 'two') {
              if (item == 'one'){
                  id='I';
              }else{                                                        
                  id='II';
              }
              vm.relatedLists = GetAllLists.query({
                  id: id
              }, onListsSuccess);
  
          }
      }
  }
  
  function onListsSuccess(result) {
      vm.relatedLists = result;   
  }
  </code></pre>
  
  <p>How to fire an event automatically as I have no click event or other event to be fired, it should load type ahead values with <code>vm.relatedLists</code> by passing shortName.</p>
  
  <p>How to achieve this?</p>