I am creating tabs dynamically for a tabstrip, using a contentUrl. Within the HTML for the 'template' file, i have a ng-repeat that calls a method in my angular controller and I want to pass the tab (as a jquery element).
I'm not a jquery expert and was wondering if there is an easy way to get the tab element. I added data properties to the tab when I created it and need access to them in the controller method.
I assume there is a simple selector that will work on my tabstrip (id=tabs), like so:
but I'm not sure how to ensure that the li is the one associated with the tab that is rendering.
<
li
ng-repeat
=
"game in tabSchedule(**need tab here**)"
>{{game.date}}</
li
>
I'm not a jquery expert and was wondering if there is an easy way to get the tab element. I added data properties to the tab when I created it and need access to them in the controller method.
I assume there is a simple selector that will work on my tabstrip (id=tabs), like so:
<
li
ng-repeat
=
"game in tabSchedule($('#tabs li.k-item.k-*****')"
>{{game.date}}</
li
>
but I'm not sure how to ensure that the li is the one associated with the tab that is rendering.