editable angularjs directive