angular/angular.js — pull request #3030 by chirayuk (2013-06-22 02:37:07+00:00)
Title: fix($compile): reject multi-expression interpolations for src attribute

BREAKING CHANGE: Concatenating expressions makes it hard to reason about
whether some combination of concatenated values are unsafe to use
and could easily lead to XSS. By requiring that a single expression
be used for *[src/ng-src] such as iframe[src], object[src], etc.
(but not img[src/ng-src] since that value is sanitized), we ensure that the value
that's used is assigned or constructed by some JS code somewhere
that is more testable or make it obvious that you bound the value to
some user controlled value. This helps reduce the load when
auditing for XSS issues.

To migrate your code, follow the example below:

Before:
JS:
scope.baseUrl = 'page';
scope.a = 1;
scope.b = 2;
HTML: