docs(*): use @description instead of @returns for properties

Dgeni-packages was not actually rendering the `@returns` text.

Closes #8639
This commit is contained in:
Shahar Talmi
2014-08-16 12:25:09 +03:00
committed by Caitlin Potter
parent e3a2ecf0db
commit b8e54ef572
2 changed files with 7 additions and 4 deletions

View File

@@ -118,7 +118,7 @@ function setupModuleLoader(window) {
* @ngdoc property
* @name angular.Module#requires
* @module ng
* @returns {Array.<string>} List of module names which must be loaded before this module.
*
* @description
* Holds the list of modules which the injector will load before the current module is
* loaded.
@@ -129,8 +129,9 @@ function setupModuleLoader(window) {
* @ngdoc property
* @name angular.Module#name
* @module ng
* @returns {string} Name of the module.
*
* @description
* Name of the module.
*/
name: name,

View File

@@ -2148,8 +2148,10 @@ function directiveNormalize(name) {
/**
* @ngdoc property
* @name $compile.directive.Attributes#$attr
* @returns {object} A map of DOM element attribute names to the normalized name. This is
* needed to do reverse lookup from normalized name back to actual name.
*
* @description
* A map of DOM element attribute names to the normalized name. This is
* needed to do reverse lookup from normalized name back to actual name.
*/