ng-if was breaking logic because it uses a child scope, opted for ng-show instead