docs($route): add hint for ngRoute module inclusion

Closes #3583
This commit is contained in:
Reto Aebersold 2013-08-14 14:18:28 +02:00 committed by Igor Minar
parent 380854fd2c
commit dba5e16269

View file

@ -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.
*
* <pre>
* angular.module('App', ['ngRoute']);
* </pre>
*
*/
var ngRouteModule = angular.module('ngRoute', ['ng']).