trying to get clear button to work. Need to re-work ng-if statements?