Why do you apologize for code sections? I'm not aware of any issues with
them.
To your question:
to bind to attributes instead of properties use
attr.data-slide="{{i}}"
or
[attr.data-slide]="i"
On Friday, January 15, 2016 at 8:30:36 AM UTC+1, [email protected] wrote:
>
> PS: Sorry for the code sections above, i just realized not to post code
> directly after submitting the thread :(
>
--
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 https://groups.google.com/group/angular.
For more options, visit https://groups.google.com/d/optout.