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

Commit ad0d3e0

Browse files
wesalvaropetebacondarwin
authored andcommitted
docs(ngRoute): $routeParams is Object.<string, string>
Closes #7386
1 parent 82f45ae commit ad0d3e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/ngRoute/routeParams.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ngRouteModule.provider('$routeParams', $RouteParamsProvider);
3333
* // Route: /Chapter/:chapterId/Section/:sectionId
3434
* //
3535
* // Then
36-
* $routeParams ==> {chapterId:1, sectionId:2, search:'moby'}
36+
* $routeParams ==> {chapterId:'1', sectionId:'2', search:'moby'}
3737
* ```
3838
*/
3939
function $RouteParamsProvider() {

0 commit comments

Comments
 (0)