Skip to content

Commit cad5a36

Browse files
docs(ngRoute): make it easier to find the example
Closes angular#4975
1 parent f2453ea commit cad5a36

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

src/ngRoute/route.js

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,9 @@
99
*
1010
* The `ngRoute` module provides routing and deeplinking services and directives for angular apps.
1111
*
12+
* ## Example
13+
* See {@link ngRoute.$route#example $route} for an example of configuring and using `ngRoute`.
14+
*
1215
* {@installModule route}
1316
*
1417
* <div doc-module-components="ngRoute"></div>
@@ -24,8 +27,12 @@ var ngRouteModule = angular.module('ngRoute', ['ng']).
2427
*
2528
* @description
2629
*
27-
* Used for configuring routes. See {@link ngRoute.$route $route} for an example.
30+
* Used for configuring routes.
31+
*
32+
* ## Example
33+
* See {@link ngRoute.$route#example $route} for an example of configuring and using `ngRoute`.
2834
*
35+
* ## Dependencies
2936
* Requires the {@link ngRoute `ngRoute`} module to be installed.
3037
*/
3138
function $RouteProvider(){

0 commit comments

Comments
 (0)