I am developing a simple inplace edit directive. My goal is to use the directive content (form) as a template, and change the input fields to labels. When the form is clicked, the directive should replace it to the original editor content.
I created a plunk. Check it HERE.
For the first time it binds its data, but does not bind them any futher.
My questions: What is wrong with my concept? How can it be fixed to attaint the expected behavior?
Any help or comment is appretiated. I am quite stuck here. Thanks.