Changed the basic progressbar to a directive with template html