Flexible progress bars for Angular.js