creating the ng-repeat directive