progress bar, angular 1.1.5 + fix local storage