Add optimized ng-repeat/switch solution.