How to show images in img tag inside an ng-repeat while using Angular JS?

前端 未结 1 1695
时光取名叫无心
时光取名叫无心 2021-02-05 16:16

My problem:

I want to display a list of images, stored localy, using ng-repeat directive, but the images re not being displayed.

AngularJS versi

1条回答
  •  臣服心动
    2021-02-05 16:55

    For IMG tags and AngularJS, use just the ng-src attribute.

    
    

    {{media.imagePath}} must contain the URL to the image, absolute or relative.

    0 讨论(0)
提交回复
热议问题