File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -105,6 +105,8 @@ function $RouteProvider() {
105
105
* - `{Array.<Object>}` - route parameters extracted from the current
106
106
* `$location.path()` by applying the current route
107
107
*
108
+ * One of `template` or `templateUrl` is required.
109
+ *
108
110
* - `templateUrl` – `{(string|Function)=}` – path or function that returns a path to an html
109
111
* template that should be used by {@link ngRoute.directive:ngView ngView}.
110
112
*
@@ -113,6 +115,8 @@ function $RouteProvider() {
113
115
* - `{Array.<Object>}` - route parameters extracted from the current
114
116
* `$location.path()` by applying the current route
115
117
*
118
+ * One of `templateUrl` or `template` is required.
119
+ *
116
120
* - `resolve` - `{Object.<string, Function>=}` - An optional map of dependencies which should
117
121
* be injected into the controller. If any of these dependencies are promises, the router
118
122
* will wait for them all to be resolved or one to be rejected before the controller is
You can’t perform that action at this time.
0 commit comments