Refactor the way x-editable jquery plugin is being used, now using angular directives properly.