This is a basic angular code example from http://angularjs.org/. It shows how to build a simple editable field through a text input.