Finally fixed issue with angular.callbacks._#. Now can search multiple times without it  breaking.