I want to put an attribute directive on an input element and I want that
directive to transclude the input element into the directives template as
in:
<input ng-model="something" myValidationDecorator />
where "myValidationDecorator" is the directive.
Can't seem to do that. I **can** put the directive on an element that
*contains* the input element. But that is not the natural place for my
directive which concerns validation of the input.
Here is a super-simple plunker
<http://plnkr.co/edit/ov4lqLo9ZOMeDQNPfhfE?p=preview>that illustrates my
conundrum.
--
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/groups/opt_out.