Skip to content
This repository was archived by the owner on Apr 12, 2024. It is now read-only.

Commit 8b39954

Browse files
petebacondarwinNarretz
authored andcommitted
docs($route): fix typo in error message
1 parent b87c6a6 commit 8b39954

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

docs/content/error/$route/norout.ngdoc

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
@ngdoc error
22
@name $route:norout
3-
@fullName Tried updating route when with no current route
3+
@fullName Tried updating route with no current route
44
@description
55

66
Occurs when an attempt is made to update the parameters on the current route when

src/ngRoute/route.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -605,7 +605,7 @@ function $RouteProvider() {
605605
// interpolate modifies newParams, only query params are left
606606
$location.search(newParams);
607607
} else {
608-
throw $routeMinErr('norout', 'Tried updating route when with no current route');
608+
throw $routeMinErr('norout', 'Tried updating route with no current route');
609609
}
610610
}
611611
};

0 commit comments

Comments
 (0)