You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi guys.
I'm working in project that's support Angular 2 and I want to upload images directly to API.
How could I use Angular to do similar job ?
I tried using [(ng-model)] with input type file. and I get path look like C:/fakepath/imagename.png.
The text was updated successfully, but these errors were encountered:
The resolution is that the functionality is not core to angular. You'd be better off building a directive to achieve what you'd like, there are plenty of examples in the issue referenced above.
Hi guys.
I'm working in project that's support Angular 2 and I want to upload images directly to API.
How could I use Angular to do similar job ?
I tried using [(ng-model)] with input type file. and I get path look like
C:/fakepath/imagename.png
.The text was updated successfully, but these errors were encountered: