File tree 1 file changed +12
-1
lines changed
1 file changed +12
-1
lines changed Original file line number Diff line number Diff line change @@ -445,6 +445,13 @@ function $StateProvider( $urlRouterProvider, $urlMatcherFactory) {
445
445
* published to scope under the controllerAs name.
446
446
* <pre>controllerAs: "myCtrl"</pre>
447
447
*
448
+ * @param {string|object= } stateConfig.parent
449
+ * <a id='parent'></a>
450
+ * Optionally specifies the parent state of this state.
451
+ *
452
+ * <pre>parent: 'parentState'</pre>
453
+ * <pre>parent: parentState // JS variable</pre>
454
+ *
448
455
* @param {object= } stateConfig.resolve
449
456
* <a id='resolve'></a>
450
457
*
@@ -476,15 +483,19 @@ function $StateProvider( $urlRouterProvider, $urlMatcherFactory) {
476
483
* transitioned to, the `$stateParams` service will be populated with any
477
484
* parameters that were passed.
478
485
*
486
+ * (See {@link ui.router.util.type:UrlMatcher UrlMatcher} `UrlMatcher`} for
487
+ * more details on acceptable patterns )
488
+ *
479
489
* examples:
480
490
* <pre>url: "/home"
481
491
* url: "/users/:userid"
482
492
* url: "/books/{bookid:[a-zA-Z_-]}"
483
493
* url: "/books/{categoryid:int}"
484
494
* url: "/books/{publishername:string}/{categoryid:int}"
485
495
* url: "/messages?before&after"
486
- * url: "/messages?{before:date}&{after:date}"</pre>
496
+ * url: "/messages?{before:date}&{after:date}"
487
497
* url: "/messages/:mailboxid?{before:date}&{after:date}"
498
+ * </pre>
488
499
*
489
500
* @param {object= } stateConfig.views
490
501
* <a id='views'></a>
You can’t perform that action at this time.
0 commit comments