Browsers don't take full path of local disc, instead they concatenate the filename with fakepath. Is there any way to access the file (image) from fakepath using typescript or angular 2?
I have this:
<img src="{{path}}" />
where my path variable stores the 'fakepath':"C:\fakepath\pic.jpg" in my .ts file.
Edit This question discusses the way to preview image file from fakepath using javascript. If it is possible with Js, then is it not the same in case of ts?