[ENTESB-1257] fix Angular.js error with ng-repeat
attempted fix for #2014