Skip to content

Commit fe18767

Browse files
jbdeboerIgorMinar
authored andcommitted
docs(minerr): Adds a description for ngRepeat.iexp
Closes angular#3440
1 parent 446ee4e commit fe18767

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

docs/content/error/ngRepeat/iexp.ngdoc

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,3 +2,11 @@
22
@name ngRepeat:iexp
33
@fullName Invalid Expression
44
@description
5+
6+
Occurs when there is a syntax error in an {@link api/ng.directive:ngRepeat ngRepeat}'s expression. The expression should be in the form '_item_ in _collection_[ track by _id_]'.
7+
8+
Be aware, the ngRepeat directive parses the expression using a regex before sending _collection_ and optionally _id_ to the AngularJS parser. This error comes from the regex parsing.
9+
10+
To resolve, identify and fix errors in the expression, paying special attention to the 'in' and 'track by' keywords in the expression.
11+
12+
Please consult the api documentation of {@link api/ng.directive:ngRepeat ngRepeat} to learn more about valid syntax.

0 commit comments

Comments
 (0)