Thanks Vitor, you are right. I will check this later.

On Jan 18, 2014, at 6:47 AM, Victor Berchet <notifications@github.com> wrote:

> In lib/directive/ng_model.dart:
> 
> > @@ -325,3 +325,25 @@ class InputRadioDirective {
> >      });
> >    }
> >  }
> > +
> > +/**
> > + * Usage (span could be replaced with any element like p):
> > + *
> > + *     <span contenteditable="true" ng-model="name">
> > + *
> > + * This creates a two way databinding between the expression specified in
> > + * ng-model and the html element in the DOM.  If the ng-model value is
> > + * `null`, it is treated as equivalent to the empty string for rendering
> > + * purposes.
> > + */
> > +@NgDirective(selector: '[contenteditable=true][ng-model]')
> true is not exactly right, see ContentEditable spec - it could also be empty or inherit. You should probably check el.isContentEditable in the code when the attribute is present whatever its value.
> 
> —
> Reply to this email directly or view it on GitHub.
>