While uploading bulk lines from sqlite how to display information of line while uploading to server?

how to display data in loader or in progress bar while uploading it to server. I want to show user that which data is currently uploading from sqlite. How to create such kind of intractive progress bar?? Please guide

For me, the key concept here that is probably not initially intuitive is binding like this:

<div [style.width]="progressPercentage + '%'">

If that is embedded inside another element with a sufficiently large width, all you have to do is periodically update progressPercentage somehow and the progress indicator will do its thing.