Skip to content
This repository has been archived by the owner on Apr 12, 2024. It is now read-only.

Bind once expressions with leading spaces are failing the parsing #7640

Closed
cexbrayat opened this issue May 30, 2014 · 0 comments
Closed

Bind once expressions with leading spaces are failing the parsing #7640

cexbrayat opened this issue May 30, 2014 · 0 comments

Comments

@cexbrayat
Copy link
Member

Playing with the bind once feature in 1.3-beta.10, I ran into the following issue. The code :

<div>{{ ::name }}</div>

throws the error :

Error: [$parse:syntax] Syntax Error: Token ':' not a primary expression at column 2 of the expression [ ::name ] starting at [::name ].

The error is due to the leading space in the expression.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants