Skip to content

Commit aa0f843

Browse files
Gaffwesleycho
authored andcommitted
chore(docs): change to handler
- Change to `handler` to fix typo Closes #2147
1 parent caaee40 commit aa0f843

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/urlRouter.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -122,7 +122,9 @@ function $UrlRouterProvider( $locationProvider, $urlMatcherFactory) {
122122
* @methodOf ui.router.router.$urlRouterProvider
123123
*
124124
* @description
125-
* Registers a handler for a given url matching. if handle is a string, it is
125+
* Registers a handler for a given url matching.
126+
*
127+
* If the handler is a string, it is
126128
* treated as a redirect, and is interpolated according to the syntax of match
127129
* (i.e. like `String.replace()` for `RegExp`, or like a `UrlMatcher` pattern otherwise).
128130
*

0 commit comments

Comments
 (0)