repeat directive working in sample app