Image file upload in angular 6

Upload Small Files to a Web API Using Angular. what the contents of the file uploaded look like. "data:image/jpeg;base64,/9j/4AAQSkZJRgABAg" You should now see two projects within VS Code, as shown in Figure 6. Figure 6: Add the 

You can do this with this simple function : Template :
. 18 May 2016 In this post I'll show you how to upload a file in AngularJS.