From fe187674b5bace9d738b18a2b6a994d7e253b9ce Mon Sep 17 00:00:00 2001 From: James deBoer Date: Thu, 1 Aug 2013 17:28:05 -0700 Subject: docs(minerr): Adds a description for ngRepeat.iexp Closes #3440 --- docs/content/error/ngRepeat/iexp.ngdoc | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'docs/content/error/ngRepeat/iexp.ngdoc') diff --git a/docs/content/error/ngRepeat/iexp.ngdoc b/docs/content/error/ngRepeat/iexp.ngdoc index 18701776..ec3c361a 100644 --- a/docs/content/error/ngRepeat/iexp.ngdoc +++ b/docs/content/error/ngRepeat/iexp.ngdoc @@ -2,3 +2,11 @@ @name ngRepeat:iexp @fullName Invalid Expression @description + +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_]'. + +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. + +To resolve, identify and fix errors in the expression, paying special attention to the 'in' and 'track by' keywords in the expression. + +Please consult the api documentation of {@link api/ng.directive:ngRepeat ngRepeat} to learn more about valid syntax. -- cgit v1.2.3