Pregunta de entrevista de Darwinbox

How could have angular implemented 2 way binding ?