How does childscope work on an ng-if statement? Specifically in a