Hello, I was asking myself if, rather than writing this in Angular :

<input type="text" ng-model="name">
Hello {{name}}

We could write this :
<txt-input>{{name}}</txt-input>
Hello {{name}}

I find this more consistent (since we use {{...}} everywhere to do our 
binding), and clear (looks like Polymer style).

Is this technically possible, using, I don't know... Web components, custom 
elements, shadow dom, insertion points (<content>) ... ???

I do not think it worth the shot... I'm even sure of the contrary.
But, ahhh... I still would try.

Your opinion ?

-- 
You received this message because you are subscribed to the Google Groups 
"AngularJS" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.

Reply via email to