proof of ng-repeat in a dynamic template