Provide Feedback to Progress Events with Angular’s HttpRequest Object

Share this video with your friends

Send Tweet

In some cases your application might need to upload large amounts of data, such as files. Obviously for a good UX we should provide the user some feedback on the progress of the upload. Angular’s HttpRequest object has a property reportProgress which allows us to do exactly that. Let’s see how.