angularjs - One-time binding throwing error with {{::photo.src}} -



angularjs - One-time binding throwing error with {{::photo.src}} -

i'm trying utilize one-time binding in angular. have next piece of html:

<img ng-src="{{::photo.src}}"/>

when page loads, angular throws error:

syntax error: token ':' not primary look @ column 1 of look [::photo.src] starting @ [::photo.src]

i read in few different places due leading space in expression... can see, there's no leading space in code. if add together leading space, of course of study same error (but @ column 2).

i'm using version 1.3.10 of angular, believe one-time binding included.

any help appreciated!

edit: seems mistaken - using version 1.2.24, one-time binding not yet supported. @sss pointing out.

bind-once suported angularjs v. 1.3.0-beta.16 or 17

angularjs

Comments

Popular posts from this blog

assembly - What is the addressing mode for ld, add, and rjmp instructions? -

vowpalwabbit - Interpreting Vowpal Wabbit results: Why are some lines appended by "h"? -

Is there a way to convert an HTML page styled with Bootstrap CSS into email-compatible html? -