title: Angular 2: Callback when ngFor has finished
body: <p>In Angular 1 I have written a custom directive ("repeater-ready") to use with <code>ng-repeat</code> to invoke a callback method when the iteration has been completed:</p>
  
  <pre><code>if ($scope.$last === true)
  {
      $timeout(() =&gt;
      {
          $scope.$parent.$parent.$eval(someCallbackMethod);
      });
  }
  </code></pre>
  
  <p>Usage in markup:</p>
  
  <pre><code>&lt;li ng-repeat="item in vm.Items track by item.Identifier"
      repeater-ready="vm.CallThisWhenNgRepeatHasFinished()"&gt;
  </code></pre>
  
  <p>How can I achieve a similar functionality with <code>ngFor</code> in Angular 2?</p>