aboutsummaryrefslogtreecommitdiffstats
path: root/src/directive/ngClass.js
diff options
context:
space:
mode:
authorIgor Minar2012-03-09 15:18:57 -0800
committerIgor Minar2012-03-09 16:27:12 -0800
commite0cc84ad7b7cdeb22cc56a75ab0775b90791da06 (patch)
tree16497f1b3c9ebfc22857878479268d261cf7db2b /src/directive/ngClass.js
parent4a94bb9b345946a9efd51adaeedc0f907af4df49 (diff)
downloadangular.js-e0cc84ad7b7cdeb22cc56a75ab0775b90791da06.tar.bz2
docs(directives): set directive param name to directive name
so that we can render better usage examples in docs
Diffstat (limited to 'src/directive/ngClass.js')
-rw-r--r--src/directive/ngClass.js12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/directive/ngClass.js b/src/directive/ngClass.js
index 903625e6..21b75dd0 100644
--- a/src/directive/ngClass.js
+++ b/src/directive/ngClass.js
@@ -31,7 +31,7 @@ function classDirective(name, selector) {
* new classes are added.
*
* @element ANY
- * @param {expression} expression {@link guide/dev_guide.expressions Expression} to eval. The result
+ * @param {expression} ng-class {@link guide/dev_guide.expressions Expression} to eval. The result
* of the evaluation can be a string representing space delimited class
* names, an array, or a map of class names to boolean values.
*
@@ -76,7 +76,7 @@ var ngClassDirective = classDirective('', true);
* {@link angular.module.ng.$compileProvider.directive.ng-repeat ng-repeat}.
*
* @element ANY
- * @param {expression} expression {@link guide/dev_guide.expressions Expression} to eval. The result
+ * @param {expression} ng-class-odd {@link guide/dev_guide.expressions Expression} to eval. The result
* of the evaluation can be a string representing space delimited class names or an array.
*
* @example
@@ -109,15 +109,15 @@ var ngClassOddDirective = classDirective('Odd', 0);
*
* @description
* The `ng-class-odd` and `ng-class-even` works exactly as
- * {@link angular.module.ng.$compileProvider.directive.ng-class ng-class}, except it works in conjunction with `ng-repeat` and
- * takes affect only on odd (even) rows.
+ * {@link angular.module.ng.$compileProvider.directive.ng-class ng-class}, except it works in
+ * conjunction with `ng-repeat` and takes affect only on odd (even) rows.
*
* This directive can be applied only within a scope of an
* {@link angular.module.ng.$compileProvider.directive.ng-repeat ng-repeat}.
*
* @element ANY
- * @param {expression} expression {@link guide/dev_guide.expressions Expression} to eval. The result
- * of the evaluation can be a string representing space delimited class names or an array.
+ * @param {expression} ng-class-even {@link guide/dev_guide.expressions Expression} to eval. The
+ * result of the evaluation can be a string representing space delimited class names or an array.
*
* @example
<doc:example>