Like ng-if but with maintained scope