angular/angular.js — pull request #2061 by lrlopez (2013-02-24 12:46:30+00:00)
Title: feat($compile): Allow late binding attributes

Sometimes is not desirable to use interpolation on attributes because the user agent parses them before the interpolation takes place. I.e:

```html

```

The snippet throws three browser errors, one for each attribute.

For some attributes, AngularJS fixes that behaviour introducing special directives like ng-href or ng-src.

This commit is a more general solution that allows prefixing any attribute with "late:" so it will be set only when the binding is done. The prefix is then removed.

I.e:
```html

```
Closes #1925