diff options
Diffstat (limited to 'src/ng')
| -rw-r--r-- | src/ng/location.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ng/location.js b/src/ng/location.js index e64a97d5..48d03971 100644 --- a/src/ng/location.js +++ b/src/ng/location.js @@ -375,7 +375,7 @@ LocationHashbangInHtml5Url.prototype = } else if (isObject(search)) { this.$$search = search; } else { - throw $locationMinErr('wpt', 'First parameter of function must be string or an object.'); + throw $locationMinErr('isrcharg', 'The first argument of the `$location#search()` call must be a string or an object.'); } break; default: |
