Trying to solve the dynamic ng-repeat problem on first load.