Skip to content

Commit a43c6e1

Browse files
dusanbartosIgorMinar
authored andcommitted
docs($route): change routes property to correct type
change $route.routes property type to Object, property is marked incorrectly as an Array Closes angular#6552
1 parent 0db301f commit a43c6e1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/ngRoute/route.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ function $RouteProvider(){
247247
* - `$scope` - The current route scope.
248248
* - `$template` - The current route template HTML.
249249
*
250-
* @property {Array.<Object>} routes Array of all configured routes.
250+
* @property {Object} routes Object with all route configuration Objects as its properties.
251251
*
252252
* @description
253253
* `$route` is used for deep-linking URLs to controllers and views (HTML partials).

0 commit comments

Comments
 (0)