angularjs - How to bind an absolute path using data-ng-src in Angular JS -
hi um using angular first time bind data img tag
um using
<img data-ng-src="{{img.filepath}}" alt="{{img.vehicleid}}" style="width:10%" />
to show image , value of img.filepath follows wont show up
d:\country\province\city\images\a0001\2676199\aaaaaaaa-5a59-4bfb-b1ba-0faff297b7b1.jpg
there no compile errors or other errors in code. image available in correct path.
why not working ? thank in advance
from index.html(main html load js) track file location.
if index.html in "d:\country\"
then in ng-src ="province/city/imagesa0001/2676199/aaaaaaaa-5a59-4bfb-b1ba-0faff297b7b1.jpg"
Comments
Post a Comment