Darwinbox interview question

How could have angular implemented 2 way binding ?