File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -52,13 +52,13 @@ function $RouteProvider(){
52
52
* `$location.path` will be updated to add or drop the trailing slash to exactly match the
53
53
* route definition.
54
54
*
55
- * * `path` can contain named groups starting with a colon ( `:name`) . All characters up
55
+ * * `path` can contain named groups starting with a colon: e.g. `:name`. All characters up
56
56
* to the next slash are matched and stored in `$routeParams` under the given `name`
57
57
* when the route matches.
58
- * * `path` can contain named groups starting with a colon and ending with a star ( `:name*`) .
58
+ * * `path` can contain named groups starting with a colon and ending with a star: e.g. `:name*`.
59
59
* All characters are eagerly stored in `$routeParams` under the given `name`
60
60
* when the route matches.
61
- * * `path` can contain optional named groups with a question mark ( `:name?`) .
61
+ * * `path` can contain optional named groups with a question mark: e.g. `:name?`.
62
62
*
63
63
* For example, routes like `/color/:color/largecode/:largecode*\/edit` will match
64
64
* `/color/brown/largecode/code/with/slashs/edit` and extract:
You can’t perform that action at this time.
0 commit comments