aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoodeec2014-03-05 18:23:22 +0100
committerIgor Minar2014-03-11 10:40:39 -0700
commita43c6e18282409a60074be2039f20554d63de77b (patch)
treeb1acb51298ee142ca2ba756d3665cd7c37cb750c
parent0db301f863deeca12a440d1d31adf52d01515a8a (diff)
downloadangular.js-a43c6e18282409a60074be2039f20554d63de77b.tar.bz2
docs($route): change routes property to correct type
change $route.routes property type to Object, property is marked incorrectly as an Array Closes #6552
-rw-r--r--src/ngRoute/route.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ngRoute/route.js b/src/ngRoute/route.js
index 80aef034..1044eb27 100644
--- a/src/ngRoute/route.js
+++ b/src/ngRoute/route.js
@@ -247,7 +247,7 @@ function $RouteProvider(){
* - `$scope` - The current route scope.
* - `$template` - The current route template HTML.
*
- * @property {Array.<Object>} routes Array of all configured routes.
+ * @property {Object} routes Object with all route configuration Objects as its properties.
*
* @description
* `$route` is used for deep-linking URLs to controllers and views (HTML partials).