Added some angular magic for progress bars