Changed ng-if to ng-show to keep the entered filter