Revamp main view for ng-repeat