Issue ##3078 Updating search.js

Searching for the anchor tag directive doesn't work when searching "a" but searching "q" returns $q as a result.