You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Apr 12, 2024. It is now read-only.
I noticed that an ngRepeat value of "( aaa, bbb) in xxx" or "(aaa, bbb ) in xxx" fails to parse.
It results in an error like the following:
Error: [ngRepeat:iidexp] 'item' in 'item in collection' should be an identifier or > '(key, value)' expression, but got '( aaa, bbb)'.
I've been told that the regexp that validates this string is the following:
^(?:([$\w]+)|(([$\w]+)\s_,\s_([$\w]+)))$
In the interest of completeness and "least surprise", this regexp (along with any corresponding required code) should be changed to include "\s*" before the key and after the value.
The text was updated successfully, but these errors were encountered:
I noticed that an ngRepeat value of "( aaa, bbb) in xxx" or "(aaa, bbb ) in xxx" fails to parse.
It results in an error like the following:
Error: [ngRepeat:iidexp] 'item' in 'item in collection' should be an identifier or > '(key, value)' expression, but got '( aaa, bbb)'.
I've been told that the regexp that validates this string is the following:
In the interest of completeness and "least surprise", this regexp (along with any corresponding required code) should be changed to include "\s*" before the key and after the value.
The text was updated successfully, but these errors were encountered: