aboutsummaryrefslogtreecommitdiffstats
path: root/src/ng/directive/ngRepeat.js
diff options
context:
space:
mode:
authorMatias Niemelä2013-05-20 21:00:12 -0400
committerMisko Hevery2013-05-30 21:42:41 -0700
commit21c70729d9269de85df3434c431c2f18995b0f7b (patch)
treea54c53e0983e796a3b50647307d3ae89aca4a788 /src/ng/directive/ngRepeat.js
parente46100f7097d9a8f174bdb9e15d4c6098395c3f2 (diff)
downloadangular.js-21c70729d9269de85df3434c431c2f18995b0f7b.tar.bz2
feat(ngdocs): provide support for inline variable hinting
Diffstat (limited to 'src/ng/directive/ngRepeat.js')
-rw-r--r--src/ng/directive/ngRepeat.js10
1 files changed, 6 insertions, 4 deletions
diff --git a/src/ng/directive/ngRepeat.js b/src/ng/directive/ngRepeat.js
index 6c2da071..89b402c8 100644
--- a/src/ng/directive/ngRepeat.js
+++ b/src/ng/directive/ngRepeat.js
@@ -11,10 +11,12 @@
*
* Special properties are exposed on the local scope of each template instance, including:
*
- * * `$index` – `{number}` – iterator offset of the repeated element (0..length-1)
- * * `$first` – `{boolean}` – true if the repeated element is first in the iterator.
- * * `$middle` – `{boolean}` – true if the repeated element is between the first and last in the iterator.
- * * `$last` – `{boolean}` – true if the repeated element is last in the iterator.
+ * | Variable | Type | Details |
+ * |===========|=================|=============================================================================|
+ * | `$index` | {@type number} | iterator offset of the repeated element (0..length-1) |
+ * | `$first` | {@type boolean} | true if the repeated element is first in the iterator. |
+ * | `$middle` | {@type boolean} | true if the repeated element is between the first and last in the iterator. |
+ * | `$last` | {@type boolean} | true if the repeated element is last in the iterator. |
*
* Additionally, you can also provide animations via the ngAnimate attribute to animate the **enter**,
* **leave** and **move** effects.