From cad5a367c3ea38c249211e56bfb4779a19b31d38 Mon Sep 17 00:00:00 2001 From: Pete Bacon Darwin Date: Wed, 20 Nov 2013 11:18:21 +0000 Subject: docs(ngRoute): make it easier to find the example Closes #4975 --- src/ngRoute/route.js | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) diff --git a/src/ngRoute/route.js b/src/ngRoute/route.js index db157a43..e56faa30 100644 --- a/src/ngRoute/route.js +++ b/src/ngRoute/route.js @@ -9,6 +9,9 @@ * * The `ngRoute` module provides routing and deeplinking services and directives for angular apps. * + * ## Example + * See {@link ngRoute.$route#example $route} for an example of configuring and using `ngRoute`. + * * {@installModule route} * *
@@ -24,8 +27,12 @@ var ngRouteModule = angular.module('ngRoute', ['ng']). * * @description * - * Used for configuring routes. See {@link ngRoute.$route $route} for an example. + * Used for configuring routes. + * + * ## Example + * See {@link ngRoute.$route#example $route} for an example of configuring and using `ngRoute`. * + * ## Dependencies * Requires the {@link ngRoute `ngRoute`} module to be installed. */ function $RouteProvider(){ -- cgit v1.2.3