Yes, this is a special case for ng-src , since it waits for the template parameter, which is a string with any interpolation inside ( {{}} ), as indicated in docs .
<img ng-src="http://www.gravatar.com/avatar/{{hash}}" alt="Description" />
It depends on how the directive is specified on its own.
source share