AngularJS modal with fixed-duration progress bar