Yes, but the slider really don't like that. Scope problems as usual with ng-if.