aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/compile.js
diff options
context:
space:
mode:
Diffstat (limited to 'src/ng/compile.js')
-rw-r--r--src/ng/compile.js55
1 files changed, 23 insertions, 32 deletions
diff --git a/src/ng/compile.js b/src/ng/compile.js
index ded62ea9..219f99ae 100644
--- a/src/ng/compile.js
+++ b/src/ng/compile.js
@@ -19,8 +19,8 @@
/**
- * @ngdoc function
- * @name ng.$compile
+ * @ngdoc service
+ * @name $compile
* @function
*
* @description
@@ -491,8 +491,8 @@
var $compileMinErr = minErr('$compile');
/**
- * @ngdoc service
- * @name ng.$compileProvider
+ * @ngdoc provider
+ * @name $compileProvider
* @function
*
* @description
@@ -511,9 +511,8 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
var EVENT_HANDLER_ATTR_REGEXP = /^(on[a-z]+|formaction)$/;
/**
- * @ngdoc function
- * @name ng.$compileProvider#directive
- * @methodOf ng.$compileProvider
+ * @ngdoc method
+ * @name $compileProvider#directive
* @function
*
* @description
@@ -565,9 +564,8 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
/**
- * @ngdoc function
- * @name ng.$compileProvider#aHrefSanitizationWhitelist
- * @methodOf ng.$compileProvider
+ * @ngdoc method
+ * @name $compileProvider#aHrefSanitizationWhitelist
* @function
*
* @description
@@ -596,9 +594,8 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
/**
- * @ngdoc function
- * @name ng.$compileProvider#imgSrcSanitizationWhitelist
- * @methodOf ng.$compileProvider
+ * @ngdoc method
+ * @name $compileProvider#imgSrcSanitizationWhitelist
* @function
*
* @description
@@ -641,9 +638,8 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
/**
- * @ngdoc function
- * @name ng.$compile.directive.Attributes#$addClass
- * @methodOf ng.$compile.directive.Attributes
+ * @ngdoc method
+ * @name $compile.directive.Attributes#$addClass
* @function
*
* @description
@@ -659,9 +655,8 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
},
/**
- * @ngdoc function
- * @name ng.$compile.directive.Attributes#$removeClass
- * @methodOf ng.$compile.directive.Attributes
+ * @ngdoc method
+ * @name $compile.directive.Attributes#$removeClass
* @function
*
* @description
@@ -677,9 +672,8 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
},
/**
- * @ngdoc function
- * @name ng.$compile.directive.Attributes#$updateClass
- * @methodOf ng.$compile.directive.Attributes
+ * @ngdoc method
+ * @name $compile.directive.Attributes#$updateClass
* @function
*
* @description
@@ -766,9 +760,8 @@ function $CompileProvider($provide, $$sanitizeUriProvider) {
/**
- * @ngdoc function
- * @name ng.$compile.directive.Attributes#$observe
- * @methodOf ng.$compile.directive.Attributes
+ * @ngdoc method
+ * @name $compile.directive.Attributes#$observe
* @function
*
* @description
@@ -1969,8 +1962,8 @@ function directiveNormalize(name) {
}
/**
- * @ngdoc object
- * @name ng.$compile.directive.Attributes
+ * @ngdoc type
+ * @name $compile.directive.Attributes
*
* @description
* A shared object between directive compile / linking functions which contains normalized DOM
@@ -1982,17 +1975,15 @@ function directiveNormalize(name) {
/**
* @ngdoc property
- * @name ng.$compile.directive.Attributes#$attr
- * @propertyOf ng.$compile.directive.Attributes
+ * @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.
*/
/**
- * @ngdoc function
- * @name ng.$compile.directive.Attributes#$set
- * @methodOf ng.$compile.directive.Attributes
+ * @ngdoc method
+ * @name $compile.directive.Attributes#$set
* @function
*
* @description