Simplified directive template by utilising ngRepeat.