Updating $location.search() jsdoc signature