rendered square into ng-repeat