Add angular code to implement our own in-place-edit