使用angularjs在每次ng重复之间注入图像

使用angularjs在每次ng重复之间注入图像,angularjs,Angularjs,我在angularjs应用程序中工作,我在应用程序中使用了ng repeat,但我需要在每个ng repeat循环之间动态插入图像 是否可以在每次ng重复之间注入图像 示例xml文件 带有ng repeat和swiper的html文件 {{key.seccion}} {{key.copete}} {{key.titulo} 在上面的代码中,ng repeat正确地显示了三个页面,但我需要在滑动后在每个页面之间加载图像。如果我滑动第一个内容,它将显示图像,如果我滑动图像,它将显示第二个内容

我在angularjs应用程序中工作,我在应用程序中使用了ng repeat,但我需要在每个ng repeat循环之间动态插入图像

是否可以在每次ng重复之间注入图像

示例xml文件

带有ng repeat和swiper的html文件


{{key.seccion}}

{{key.copete}} {{key.titulo}

在上面的代码中,ng repeat正确地显示了三个页面,但我需要在滑动后在每个页面之间加载图像。如果我滑动第一个内容,它将显示图像,如果我滑动图像,它将显示第二个内容,反之亦然。

请向我们显示您当前的代码。这是可能的。但你的问题相当广泛,你需要展示你迄今为止所做的努力。嗨@Michelem,这里我附上了显示我的问题的链接。我需要插入广告之间的每一页(单刷后)。是否可以像这样加载图像。嗨@LordTribal,这里我附上了显示我的问题的链接。我需要插入广告之间的每一页(单刷后)。可以这样加载图像吗?很难从你的简短描述中分辨出来。你应该更新你的问题并详细解释你的问题。显示代码片段并向人们指出您的问题。
`<?xml version='1.0' encoding='UTF-8' ?>
<revista>
    <notas>
    <banner>No</banner>
    <bannerFuente></bannerFuente>
    <bannerURL></bannerURL>
    <copete>Editorial</copete>
        <titulo>Se armó en grande</titulo>
        <seccion>Opinión</seccion>
    </notas>
    <notas>
    <banner>No</banner>
    <bannerFuente></bannerFuente>
    <bannerURL></bannerURL>
    <copete>Perfiles de clientes</copete>
        <titulo>¿Quién se llevó mi negocio?</titulo>
        <seccion>Opinión</seccion>
    </notas>
    <notas>
    <banner>No</banner>
    <bannerFuente></bannerFuente>
    <bannerURL></bannerURL>
    <copete>Gestión empresarial</copete>
        <titulo>Gestión para pequeños negocios</titulo>
        <seccion>Opinión</seccion>
    </notas>
</revista>`
    $http.get('sample.xml').then(function(response)
         { 
             var dom = response.data;
             $scope.posts = dom.revista.notas;
         })
<div class="swiper-container" ng-controller='MainCtrl'>
            <div class="swiper-wrapper">
                <div class="swiper-slide" ng-repeat="key in posts">
                    <div class="mag_content_wrap con_style1">
                        <div class="cls_favorite_sec editorial_page1">
                            <h2>{{key.seccion}}</h2>
                        </div>
                        <div class="cls_favorite_sec editorial_page">
                            <div class="cls_inner1 img_r">
                                <p class="img_con">
                                    <img src="Imagenes/{{key.imagen}}" />
                                </p>
                            </div>
                            <div class="cls_inner2 editorial_page2">
                                <h2>{{key.copete}}</h2>
                                <h3>{{key.titulo}}</h3>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>