Hello I have a problem in uploading an image .I use typescript so I tried to adapt a fiddle
. I found on the internet but the problem is that I don't use the scope so the field 'myFile' is not being modified from the directive.I used the bindToController
and scope:{myFile'='}
but it doesn't work.
Thanks for your help