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

Popular posts from this blog

c++ - No viable overloaded operator for references a map -

java - Custom OutputStreamAppender not run: LOGBACK: No context given for <MYAPPENDER> -

java - Cannot secure connection using TLS -