diff options
| author | James deBoer | 2013-08-01 17:35:38 -0700 | 
|---|---|---|
| committer | Igor Minar | 2013-08-07 09:05:12 -0700 | 
| commit | 446ee4ea1949aa220c3ceeeab4a9c91b9ccea034 (patch) | |
| tree | 20a64ea565ba0daa97115d4f293b613fc35d44ed | |
| parent | 63b6c5b3f275747bcf6f22ec2491596ff4569696 (diff) | |
| download | angular.js-446ee4ea1949aa220c3ceeeab4a9c91b9ccea034.tar.bz2 | |
docs(minerr): Adds a description for ngRepeat.iidexp
Closes #3441
| -rw-r--r-- | docs/content/error/ngRepeat/iidexp.ngdoc | 21 | 
1 files changed, 21 insertions, 0 deletions
| diff --git a/docs/content/error/ngRepeat/iidexp.ngdoc b/docs/content/error/ngRepeat/iidexp.ngdoc index f9aa7c50..8d9309e2 100644 --- a/docs/content/error/ngRepeat/iidexp.ngdoc +++ b/docs/content/error/ngRepeat/iidexp.ngdoc @@ -2,3 +2,24 @@  @name ngRepeat:iidexp  @fullName Invalid Identifier  @description + +Occurs when there is an error in the identifier part of {@link api/ng.directive:ngRepeat ngRepeat}'s expression. + +To resolve, use either a valid identifier or a tuple (_key_, _value_) where both _key_ and _value_ are valid identifiers. + +Examples of *invalid* syntax: + +``` +<div ng-repeat="33 in users"></div> +<div ng-repeat="someFn() in users"></div> +<div ng-repeat="some user in users"></div> +``` + +Examples of *valid* syntax: + +``` +<div ng-repeat="user in users"></div> +<div ng-repeat="(id, user) in userMap"></div> +``` + +Please consult the api documentation of {@link api/ng.directive:ngRepeat ngRepeat} to learn more about valid syntax. | 
