angular/angular.js — pull request #1328 by CamShaft (2012-09-01 21:53:28+00:00)
Title: Allow ng-model bindings to arbitrary functions

This allows for very flexible 2-way binding to inputs through getters/setters.
For example:

The value of INPUT[ng-model="fun"] will be 'Hello World!'.
As the value changes from user input the function will be called
with the new value as the argument, enabling the function to handle
how the value gets set.

You can see a working example with this [jsfiddle](http://jsfiddle.net/CamShaft/kLgTL/10/).