Thanks Sander, Its works, but I had to search the element to add the attribute needed. Ex. <div> <label>some value</label> <input custom-attr> </div>
Em sexta-feira, 17 de abril de 2015 05:41:37 UTC-3, Sander Elias escreveu: > > Hi Fabricio, > > You can't do that using templates. It can be done during compile time, or > during link time. Link is the easiest, but if those 'custom-attr' modify > angular behavior, you need to do it during compile. > > Regards > Sander > -- 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.
