I have the following html:

<slider slider-id="section.Pid" ng-hide="section.loading">
                <li ng-repeat="item in section.items">
                    <poster-info content="item" 
hide-play-btn="hidePlayBtn"></poster-info>
                </li>
            </slider>

The slider directive is something like this: 

    return {
        restrict: "E",
        replace: true,
        transclude: true,
        template: '<ul class="bxslider" id="{{sliderId}}-slider" 
ng-transclude></ul>',
        scope: {
            sliderId: '='
        },
        link: function (scope, element, attrs) {
            var slider = element.bxSlider();

However, the transclusion (<li ng-repeat="item in section.items">) must run 
first, and only then the slider directive should take place.
How can I do that?

-- 
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