Hi,

Try to use *data-ng-alt* and *data-ng-title.* Of-course you can use same 
without *data-* prefix.


On Friday, August 8, 2014 3:45:06 AM UTC+5:30, Steve Husting wrote:
>
> As can be seen by the screen grab of one line of code, I'm trying to 
> correctly format an <img's alt="Photo of {{item.shortname}}"> and title=" 
> Photo " + {{item.shortname}}, but with no success -- "Photo of" shows up 
> but no item.shortname. The data pulls correctly from data.json with <img 
> ng-src="images/{{tem.shortname}}.jpg"
>
> What is the correct syntax to use to make the {{item.shortname}} work for 
> alt and title tags? 
>

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to