From 2e641ac49f121a6e2cc70bd3879930b44a8a7710 Mon Sep 17 00:00:00 2001 From: Peter Bacon Darwin Date: Thu, 6 Feb 2014 13:33:42 +0000 Subject: docs(bike-shed-migration): convert doctype and names --- src/loader.js | 25 +++++++------------------ 1 file changed, 7 insertions(+), 18 deletions(-) (limited to 'src/loader.js') diff --git a/src/loader.js b/src/loader.js index d41ff593..7184cb47 100644 --- a/src/loader.js +++ b/src/loader.js @@ -1,7 +1,7 @@ 'use strict'; /** - * @ngdoc interface + * @ngdoc type * @name angular.Module * @module ng * @description @@ -45,7 +45,7 @@ function setupModuleLoader(window) { * # Module * * A module is a collection of services, directives, filters, and configuration information. - * `angular.module` is used to configure the {@link AUTO.$injector $injector}. + * `angular.module` is used to configure the {@link auto.$injector $injector}. * *
* // Create a new module
@@ -137,12 +137,11 @@ function setupModuleLoader(window) {
* @ngdoc method
* @name angular.Module#provider
* @module ng
- * @methodOf angular.Module
* @param {string} name service name
* @param {Function} providerType Construction function for creating new instance of the
* service.
* @description
- * See {@link AUTO.$provide#provider $provide.provider()}.
+ * See {@link auto.$provide#provider $provide.provider()}.
*/
provider: invokeLater('$provide', 'provider'),
@@ -150,11 +149,10 @@ function setupModuleLoader(window) {
* @ngdoc method
* @name angular.Module#factory
* @module ng
- * @methodOf angular.Module
* @param {string} name service name
* @param {Function} providerFunction Function for creating new instance of the service.
* @description
- * See {@link AUTO.$provide#factory $provide.factory()}.
+ * See {@link auto.$provide#factory $provide.factory()}.
*/
factory: invokeLater('$provide', 'factory'),
@@ -162,11 +160,10 @@ function setupModuleLoader(window) {
* @ngdoc method
* @name angular.Module#service
* @module ng
- * @methodOf angular.Module
* @param {string} name service name
* @param {Function} constructor A constructor function that will be instantiated.
* @description
- * See {@link AUTO.$provide#service $provide.service()}.
+ * See {@link auto.$provide#service $provide.service()}.
*/
service: invokeLater('$provide', 'service'),
@@ -174,11 +171,10 @@ function setupModuleLoader(window) {
* @ngdoc method
* @name angular.Module#value
* @module ng
- * @methodOf angular.Module
* @param {string} name service name
* @param {*} object Service instance object.
* @description
- * See {@link AUTO.$provide#value $provide.value()}.
+ * See {@link auto.$provide#value $provide.value()}.
*/
value: invokeLater('$provide', 'value'),
@@ -186,12 +182,11 @@ function setupModuleLoader(window) {
* @ngdoc method
* @name angular.Module#constant
* @module ng
- * @methodOf angular.Module
* @param {string} name constant name
* @param {*} object Constant value.
* @description
* Because the constant are fixed, they get applied before other provide methods.
- * See {@link AUTO.$provide#constant $provide.constant()}.
+ * See {@link auto.$provide#constant $provide.constant()}.
*/
constant: invokeLater('$provide', 'constant', 'unshift'),
@@ -199,7 +194,6 @@ function setupModuleLoader(window) {
* @ngdoc method
* @name angular.Module#animation
* @module ng
- * @methodOf angular.Module
* @param {string} name animation name
* @param {Function} animationFactory Factory function for creating new instance of an
* animation.
@@ -234,7 +228,6 @@ function setupModuleLoader(window) {
* @ngdoc method
* @name angular.Module#filter
* @module ng
- * @methodOf angular.Module
* @param {string} name Filter name.
* @param {Function} filterFactory Factory function for creating new instance of filter.
* @description
@@ -246,7 +239,6 @@ function setupModuleLoader(window) {
* @ngdoc method
* @name angular.Module#controller
* @module ng
- * @methodOf angular.Module
* @param {string|Object} name Controller name, or an object map of controllers where the
* keys are the names and the values are the constructors.
* @param {Function} constructor Controller constructor function.
@@ -259,7 +251,6 @@ function setupModuleLoader(window) {
* @ngdoc method
* @name angular.Module#directive
* @module ng
- * @methodOf angular.Module
* @param {string|Object} name Directive name, or an object map of directives where the
* keys are the names and the values are the factories.
* @param {Function} directiveFactory Factory function for creating new instance of
@@ -273,7 +264,6 @@ function setupModuleLoader(window) {
* @ngdoc method
* @name angular.Module#config
* @module ng
- * @methodOf angular.Module
* @param {Function} configFn Execute this function on module load. Useful for service
* configuration.
* @description
@@ -285,7 +275,6 @@ function setupModuleLoader(window) {
* @ngdoc method
* @name angular.Module#run
* @module ng
- * @methodOf angular.Module
* @param {Function} initializationFn Execute this function after injector creation.
* Useful for application initialization.
* @description
--
cgit v1.2.3