From dba5e16269c1db9f69e385b5828cab72c8ac53ba Mon Sep 17 00:00:00 2001 From: Reto Aebersold Date: Wed, 14 Aug 2013 14:18:28 +0200 Subject: docs($route): add hint for ngRoute module inclusion Closes #3583 --- src/ngRoute/route.js | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'src') diff --git a/src/ngRoute/route.js b/src/ngRoute/route.js index d1d7bba6..f8a285cd 100644 --- a/src/ngRoute/route.js +++ b/src/ngRoute/route.js @@ -5,7 +5,18 @@ * @name ngRoute * @description * - * Module that provides routing and deeplinking services and directives for angular apps. + * ngRoute + * ========= + * + * The ngRoute module provides routing and deeplinking services and directives for angular apps. + * + * To make use of routing with AngularJS, the `angular-route.js` JavaScript file must be included into your application + * and the `ngRoute` module must be included as a dependency. + * + *
+ * angular.module('App', ['ngRoute']);
+ *
+ *
*/
var ngRouteModule = angular.module('ngRoute', ['ng']).
--
cgit v1.2.3