async loading img on angularjs app

时间:2015-09-01 21:39:50

标签: angularjs

I'm looking for a simple and good way to load my photos on my Angularjs app. for exemple, I had, a img

<img ng-src="{{myPathToImg}}">

and I want to display another img ( svg spinner ) like somes point who mooves during the image download. I think I have to use a directive, but I don't know how to load with async my img

0 个答案:

没有答案