Hi Mark,

Yes, according to the 
docs<http://docs.angularjs.org/api/ng.directive:ngSrc>ngSrc expect an 
expression. The reason for this is in the way it’s usually 
used.
Indeed just like ng-include does. If it allways would be surrounded by {{}} 
this would not be needed.
However, this kind of construct is fairly common to see in an src:

  <img src="http://www.gravatar.com/avatar/{{hash}}"/>
  <img src="/{{userFolder}}/proFileImage.jpg"/>

Hope this explains it a bit,

Regards
Sander

-- 
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/groups/opt_out.

Reply via email to