ng-repeat and ng-if live happily together