File tree Expand file tree Collapse file tree 1 file changed +8
-6
lines changed
Expand file tree Collapse file tree 1 file changed +8
-6
lines changed Original file line number Diff line number Diff line change @@ -89,12 +89,14 @@ function $RouteProvider(){
8989 * `$location.path()` by applying the current route
9090 *
9191 * - `resolve` - `{Object.<string, function>=}` - An optional map of dependencies which should
92- * be injected into the controller. If any of these dependencies are promises, the router will
93- * wait for them all to be resolved or one to be rejected before the controller is instantiated.
94- * If all the promises are resolved successfully, the values of the resolved promises are injected
95- * and {@link ngRoute.$route#$routeChangeSuccess $routeChangeSuccess} event is fired.
96- * If any of the promises are rejected the {@link ngRoute.$route#$routeChangeError $routeChangeError}
97- * event is fired. The map object is:
92+ * be injected into the controller. If any of these dependencies are promises, the router
93+ * will wait for them all to be resolved or one to be rejected before the controller is
94+ * instantiated.
95+ * If all the promises are resolved successfully, the values of the resolved promises are
96+ * injected and {@link ngRoute.$route#$routeChangeSuccess $routeChangeSuccess} event is
97+ * fired. If any of the promises are rejected the
98+ * {@link ngRoute.$route#$routeChangeError $routeChangeError} event is fired. The map object
99+ * is:
98100 *
99101 * - `key` – `{string}`: a name of a dependency to be injected into the controller.
100102 * - `factory` - `{string|function}`: If `string` then it is an alias for a service.
You can’t perform that action at this time.
0 commit comments