Fixed problem with ng-model not grabbing search field value.