dynamic progress bar in angular 6