Skip to content

Commit bb96722

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

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/url/urlRouter.ts

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,9 @@ function $UrlRouterProvider( $locationProvider, $urlMatcherFactory) {
126126
* @methodOf ui.router.router.$urlRouterProvider
127127
*
128128
* @description
129-
* Registers a handler for a given url matching. if handle is a string, it is
129+
* Registers a handler for a given url matching.
130+
*
131+
* If the handler is a string, it is
130132
* treated as a redirect, and is interpolated according to the syntax of match
131133
* (i.e. like `String.replace()` for `RegExp`, or like a `UrlMatcher` pattern otherwise).
132134
*

0 commit comments

Comments
 (0)