写法
使用ng-src,可以加载base64/图片网络路径/图片相对路径...
<img ng-repeat="x in img" ng-src="{{x.source}}">
注意事项
<!--这是一种写法,取出x的source(图片)-->
<img ng-repeat="x in img" ng-src="{{x.source}}">
If you have just an array of images
<!--直接循环图片集合,必须加track by $index,否则不报错但是加载不出来-->
<img ng-repeat="img in images track by $index" ng-src="{{img}}">