AngularJS directive to handle ngRepeat start and finish event.