From deef2817fe2f6963b047dd85318d8936effb44e0 Mon Sep 17 00:00:00 2001 From: doodeec Date: Wed, 5 Mar 2014 18:23:22 +0100 Subject: [PATCH] docs(ngRoute): change routes property to correct type change $route.routes property type to Object, property is marked incorrectly as an Array --- src/ngRoute/route.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/ngRoute/route.js b/src/ngRoute/route.js index a1236ec9341b..8044aac79083 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).