|
8 | 8 | * before the template enters execution mode during bootstrap.
|
9 | 9 | *
|
10 | 10 | * @element ANY
|
11 |
| - * @param {expression} expression to eval. |
| 11 | + * @param {expression} expression {@link guide.expression Expression} to eval. |
12 | 12 | *
|
13 | 13 | * @example
|
14 | 14 | <doc:example>
|
@@ -43,7 +43,7 @@ angularDirective("ng:init", function(expression){
|
43 | 43 | * The `ng:controller` directive specifies the MVC controller class
|
44 | 44 | *
|
45 | 45 | * @element ANY
|
46 |
| - * @param {expression} expression to eval. |
| 46 | + * @param {expression} expression {@link guide.expression Expression} to eval. |
47 | 47 | *
|
48 | 48 | * @example
|
49 | 49 | * Here is a simple form for editing the user contact information. Adding, removing clearing and
|
@@ -130,7 +130,7 @@ angularDirective("ng:controller", function(expression){
|
130 | 130 | * without displaying the result to the user.
|
131 | 131 | *
|
132 | 132 | * @element ANY
|
133 |
| - * @param {expression} expression to eval. |
| 133 | + * @param {expression} expression {@link guide.expression Expression} to eval. |
134 | 134 | *
|
135 | 135 | * @example
|
136 | 136 | * Notice that `{{` `obj.multiplied = obj.a * obj.b` `}}` has a side effect of assigning
|
@@ -178,7 +178,7 @@ angularDirective("ng:eval", function(expression){
|
178 | 178 | * `<span ng:bind="expression"></span>` at bootstrap time.
|
179 | 179 | *
|
180 | 180 | * @element ANY
|
181 |
| - * @param {expression} expression to eval. |
| 181 | + * @param {expression} expression {@link guide.expression Expression} to eval. |
182 | 182 | *
|
183 | 183 | * @example
|
184 | 184 | * Try it here: enter text in text box and watch the greeting change.
|
@@ -335,15 +335,15 @@ var REMOVE_ATTRIBUTES = {
|
335 | 335 | * @name angular.directive.ng:bind-attr
|
336 | 336 | *
|
337 | 337 | * @description
|
338 |
| - * The `ng:bind-attr` attribute specifies that the element attributes |
339 |
| - * which should be replaced by the expression in it. Unlike `ng:bind` |
340 |
| - * the `ng:bind-attr` contains a JSON key value pairs representing |
341 |
| - * which attributes need to be changed. You don’t usually write the |
342 |
| - * `ng:bind-attr` in the HTML since embedding |
343 |
| - * <tt ng:non-bindable>{{expression}}</tt> into the |
344 |
| - * attribute directly is the preferred way. The attributes get |
345 |
| - * translated into `<span ng:bind-attr="{attr:expression}"/>` at |
346 |
| - * bootstrap time. |
| 338 | + * The `ng:bind-attr` attribute specifies that {@link guide.data-binding databindings} should be |
| 339 | + * created between element attributes and given expressions. Unlike `ng:bind` the `ng:bind-attr` |
| 340 | + * contains a JSON key value pairs representing which attributes need to be mapped to which |
| 341 | + * {@link guide.expression expressions}. |
| 342 | + * |
| 343 | + * You don’t usually write the `ng:bind-attr` in the HTML since embedding |
| 344 | + * <tt ng:non-bindable>{{expression}}</tt> into the attribute directly as the attribute value is |
| 345 | + * preferred. The attributes get translated into `<span ng:bind-attr="{attr:expression}"/>` at |
| 346 | + * compile time. |
347 | 347 | *
|
348 | 348 | * This HTML snippet is preferred way of working with `ng:bind-attr`
|
349 | 349 | * <pre>
|
@@ -425,7 +425,7 @@ angularDirective("ng:bind-attr", function(expression){
|
425 | 425 | * element is clicked.
|
426 | 426 | *
|
427 | 427 | * @element ANY
|
428 |
| - * @param {expression} expression to eval upon click. |
| 428 | + * @param {expression} expression {@link guide.expression Expression} to eval upon click. |
429 | 429 | *
|
430 | 430 | * @example
|
431 | 431 | <doc:example>
|
@@ -476,7 +476,7 @@ angularDirective("ng:click", function(expression, element){
|
476 | 476 | * server and reloading the current page).
|
477 | 477 | *
|
478 | 478 | * @element form
|
479 |
| - * @param {expression} expression to eval. |
| 479 | + * @param {expression} expression {@link guide.expression Expression} to eval. |
480 | 480 | *
|
481 | 481 | * @example
|
482 | 482 | <doc:example>
|
@@ -524,7 +524,7 @@ angularDirective("ng:submit", function(expression, element) {
|
524 | 524 | * an evaluation on variable change.
|
525 | 525 | *
|
526 | 526 | * @element ANY
|
527 |
| - * @param {expression} expression to eval. |
| 527 | + * @param {expression} expression {@link guide.expression Expression} to eval. |
528 | 528 | *
|
529 | 529 | * @example
|
530 | 530 | * Notice that the counter is incremented
|
@@ -584,7 +584,7 @@ function ngClass(selector) {
|
584 | 584 | * conditionally.
|
585 | 585 | *
|
586 | 586 | * @element ANY
|
587 |
| - * @param {expression} expression to eval. |
| 587 | + * @param {expression} expression {@link guide.expression Expression} to eval. |
588 | 588 | *
|
589 | 589 | * @example
|
590 | 590 | <doc:example>
|
@@ -625,7 +625,7 @@ angularDirective("ng:class", ngClass(function(){return true;}));
|
625 | 625 | * and takes affect only on odd (even) rows.
|
626 | 626 | *
|
627 | 627 | * @element ANY
|
628 |
| - * @param {expression} expression to eval. Must be inside |
| 628 | + * @param {expression} expression {@link guide.expression Expression} to eval. Must be inside |
629 | 629 | * `ng:repeat`.
|
630 | 630 | *
|
631 | 631 | * @example
|
@@ -663,7 +663,7 @@ angularDirective("ng:class-odd", ngClass(function(i){return i % 2 === 0;}));
|
663 | 663 | * and takes affect only on odd (even) rows.
|
664 | 664 | *
|
665 | 665 | * @element ANY
|
666 |
| - * @param {expression} expression to eval. Must be inside |
| 666 | + * @param {expression} expression {@link guide.expression Expression} to eval. Must be inside |
667 | 667 | * `ng:repeat`.
|
668 | 668 | *
|
669 | 669 | * @example
|
@@ -700,8 +700,8 @@ angularDirective("ng:class-even", ngClass(function(i){return i % 2 === 1;}));
|
700 | 700 | * of the HTML conditionally.
|
701 | 701 | *
|
702 | 702 | * @element ANY
|
703 |
| - * @param {expression} expression if truthy then the element is |
704 |
| - * shown or hidden respectively. |
| 703 | + * @param {expression} expression If the {@link guide.expression expression} truthy then the element |
| 704 | + * is shown or hidden respectively. |
705 | 705 | *
|
706 | 706 | * @example
|
707 | 707 | <doc:example>
|
@@ -741,8 +741,8 @@ angularDirective("ng:show", function(expression, element){
|
741 | 741 | * of the HTML conditionally.
|
742 | 742 | *
|
743 | 743 | * @element ANY
|
744 |
| - * @param {expression} expression if truthy then the element is |
745 |
| - * shown or hidden respectively. |
| 744 | + * @param {expression} expression If the {@link guide.expression expression} truthy then the element |
| 745 | + * is shown or hidden respectively. |
746 | 746 | *
|
747 | 747 | * @example
|
748 | 748 | <doc:example>
|
@@ -781,9 +781,8 @@ angularDirective("ng:hide", function(expression, element){
|
781 | 781 | * The ng:style allows you to set CSS style on an HTML element conditionally.
|
782 | 782 | *
|
783 | 783 | * @element ANY
|
784 |
| - * @param {expression} expression which evals to an object whes key's are |
785 |
| - * CSS style names and values are coresponding values for those |
786 |
| - * CSS keys. |
| 784 | + * @param {expression} expression {@link guide.expression Expression} which evals to an object who's |
| 785 | + * keys are CSS style names and values are coresponding values for those CSS keys. |
787 | 786 | *
|
788 | 787 | * @example
|
789 | 788 | <doc:example>
|
|
0 commit comments