InlineEdit directive for AngularJS