Simple edit-in-place directive for Angular.js