From 0d8de2d3ea44a8bb1f0702ccf7a4542200452f16 Mon Sep 17 00:00:00 2001 From: doodeec Date: Wed, 5 Mar 2014 18:23:22 +0100 Subject: docs($route): change routes property to correct type change $route.routes property type to Object, property is marked incorrectly as an Array Closes #6552 --- src/ngRoute/route.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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.} 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). -- cgit v1.2.3