angular/angular.js — pull request #10136 by btford (2014-11-20 01:20:04+00:00)
Title: fix(ngModelOptions): preserve context of getter/setters

Closes #9394

BREAKING CHANGE: previously, ngModel invoked getter/setters in the global context.

For example:

```js

```

would previously invoke `model.value()` in the global context.

Now, ngModel invokes `value` with `model` as the context.

It's unlikely that real apps relied on this behavior. If they did they can use `.bind` to explicilty
bind a getter/getter to the global context, or just reference globals normally without `this`.