created new ngRepeat directive handling code